-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS Catalina: Does not work #45
Comments
Guys getting the same error on macOS Catalina. |
yup same here, i will see if i get some time this evening to find out what's causing this and make a pull request. |
ok i've found the issue and got a fix for it. it's not done yet but the problem is the change to zsh from bash on MacOS Catalina. I will try to get it done tomorrow after work. If you're on Catalina and just want to get it working, change runCommand() in common.go:
and then change Run() in run.go:
|
Uhm... seems to be even simpler. You only need to make the change to Run() (i.e. moving removeFile()). |
I had to add this line before runCommand in Run func: It was trying to search for fileName in PATH.. maybe I'm missing something. I've also added removeFile to the err handler of runCommand, right before continue. To don't leave any invalid executable around... |
Hello, zsh: command not found: watcher Could you please advice what is wrong? Btw, I am using MacOS Catalina Thanks for your support |
@zzeynal Not sure why you added your question to this issue, but here's your problem: Just because you are in the folder, it doesn't mean that folder is in your $PATH. You can do one of two things: add that folder to your $PATH environment variable, or just run |
# @tzusman Thanks for your reply.Somehow I have fixed and watcher command already works. But now I have same issue with building and running the myapp. Building .... It does not build any executable file nor runs any, as there does not appear any exeucatble file. While nomral outcome instead of above outcome, should look like as the below: Building .... [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
[GIN-debug] GET /posts --> main.Posts (3 handlers) it should build and then run that build executable, but unfortunately it does not happen. I have make all mentioned changes to Run() funtion and all other stuff, but still the same outcome. Please help! Thanks in advance! |
@zzeynal Your question isn't watcher related, so I would post this question in a more appropriate place. I would however ensure that |
@tzusman yes, sure while running Much appreciate your support. |
after changing Run() func in run.go file I got such a problem: exported method Runner.Run should have comment or be unexported go-lint Please advice. |
Guys solved my issue! Thanks! |
I have the same issue with Mac OS Catalina. How do I build the watcher after I change the code? ❯ watcher -c config.dev.yaml |
any progress on this issue? |
It does not work with the following message:
Other people from my team who upgraded to Catalina report the same
The text was updated successfully, but these errors were encountered: