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
Live Reload Not Working #18
Comments
Hi, Ajain. I'm unable to reproduce this issue. Are you running the latest version of Docker for Mac? |
Hi. Seems to work for me. Not having issues with Live Reload on MacOSx. |
@ajainvivek ah, maybe you expecting it to reload the browser? But this project doesn't have any front-end code, nothing to reload in a browser, it just restarts Node.js app server once code changes are detected. The "Welcome, Guest! Login" message on the homepage is just a testing page, for demonstration purposes. This project exposes only two endpoints - |
I am running Docker version 1.12.2, build bb80604 I can see the files getting changed over the docker container but the node server doesn't restart. I have made changes to users.js. watch mode is also set to true.
chokidar doesn't capture file changes event after build. the log doesn't print after build I am testing the changes on GraphiQL |
Ajain, I'm not sure what causes this issue yet, but would you consider upgrading Docker for Mac to 1.12.5? Maybe this will fix the issue. At least this is the simplest thing to try first. |
I have also upgraded docker on the docker-machine instance but the file changes where never triggered. After enabling polling. It works.
I have other projects which uses nodemon which requires legacyWatch enabled to make it work on docker. I am curious to know. How to make it work? |
@ajainvivek it should work without setting |
Sorry for the late response the docker version .. I was running was Docker version 1.12.2, build bb80604 |
@ajainvivek I'm still unable to reproduce the issue. Maybe you can try the latest Docker version - v17.03.0 Community Edition. Closing for now, feel free to re-open if this issue still exists. |
In order to make the file watcher use "polling", create
|
Hi,
Live Reload not working on MacOs
Volume mounting is working fine and the changes are getting copied over.
The text was updated successfully, but these errors were encountered: