-
Notifications
You must be signed in to change notification settings - Fork 146
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
devd doesn't listen if livewatch is specified #111
Comments
Fiddling around more found something strange. The above command doesn't work, but this does:
It seems to consistently work if the path is |
Maybe run with strace could help see what is going on |
Ah, yeah, it's going through tons of files, If the directory structure is like this:
Suppose cwd is Is that correct behavior? It seems wrong to me... |
Did some digging. I suspect that #95 caused devd to always add a watch for the current working directory, the If you are able to build devd yourself you could try to remove the @cortesi Could this be the case? as i understand in the end devd will add recursive watches for all base dirs? will that case lots of file system traversal? |
Sorry, I'm not familiar enough with go to build devd. (I was able to install go and run |
I have devd 0.9 on Arch Linux, installed via the AUR. I usually use devd like this:
After updating devd recently it stopped working; devd would start up but I couldn't connect. I played around with flags and it seems like if I use the
-l
switch it never starts listening on a port (checked withlsof
). The only output isRoute / -> reads files from ...
.If take away the -l flag it starts listening as usual.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: