-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
PM2 does not "watch" (respond to file changes) on Ubuntu 14.04.1 LTS #1449
Comments
This is really strange... when I set the
|
Or so it seemed. I'm honestly not sure at this point. For me, |
So again, I was able to start the app and have |
Please edit your post next time instead of mass-posting like this, thanks. First, there are issues regarding Ubuntu 14.04: #1424 #1380. So, please try the development version
Saying this is an easy task, but I can assure you that the only issues there are with the watch functionnality are cases that are not covered by chokidar (see nfs for example). The only thing done here is to enable chokidar when a flag is set, nothing more! Can you mention: pm2 version, node version, some |
Hello @tkambler, Do the new version of PM2 solved your issue? The update procedure is quite simple:
Thanks, |
It did. What was the problem? |
Probably the ubuntu segfault caused by the garbage collector. Commit about the fix here. See also #1380 and this issue on joyent/node. |
Happy to hear that! |
I am experiencing the watching issue on 16.04 It seems node 8.4 doesn't bode well with 16.04
|
Example app - https://dl.dropboxusercontent.com/u/832215/app.zip
When I start this application on OS X (Yosemite), it works just fine:
As changes are made to files within
./lib/**/*
, the application automatically restarts. However, when I start the application on Ubuntu 14.04.1 LTS - it starts just fine, but does not respond to file changes. Quite frustrating.The text was updated successfully, but these errors were encountered: