Skip to content
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

Making changes to nodemon example causes long restart loop. #2

Closed
HelloGrayson opened this issue Mar 31, 2015 · 2 comments
Closed

Making changes to nodemon example causes long restart loop. #2

HelloGrayson opened this issue Mar 31, 2015 · 2 comments

Comments

@HelloGrayson
Copy link

After getting the nodemon example running, I go into the index route and change the title from Express to Holler - the result is the screenshot below:

screen shot 2015-03-31 at 4 16 34 pm

After about a minute of nodemon flapping, it eventually stabilizes and I can make requests again.

Any idea?

> docker-compose --version
docker-compose 1.1.0

> docker --version                  
Docker version 1.5.0, build a8a31ef
@b00gizm
Copy link
Contributor

b00gizm commented Apr 1, 2015

I suppose, this is related to a known issue with boot2docker I explained in the READMEs:

Notes on boot2docker

It appears that boot2docker (OS X, Windows) currently does not automatically sync the system clock with the host system after a host resumes from sleep. This becomes a problem due to the way nodemon detects file changes. That might cause it to go bananas, if the clocks on both systems are "too much" out of sync. Until this is fixed, you might use this workaround or simply do a manual sync via

/usr/local/bin/boot2docker ssh sudo ntpclient -s -h pool.ntp.org

It seems like if it's been fixed since I first added this section to the documentation. Are you maybe using an outdated version of boot2docker?

@b00gizm b00gizm closed this as completed Apr 9, 2015
@b00gizm
Copy link
Contributor

b00gizm commented Apr 9, 2015

Closing this for now due to no feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants