node-dev icon indicating copy to clipboard operation
node-dev copied to clipboard

Watching works only with --poll in docker

Open wclr opened this issue 8 years ago • 3 comments

Watching works only with --poll in docker, so maybe it is reasonable to introduce some more efficient watching in containers.

wclr avatar Nov 16 '16 07:11 wclr

No watching works fine in my docker container. I've been using it for quite a while. I think its based on your OS. I've seem some of my colleagues who use webpack in docker containers on OSX and it polls or crashes often whereas in my linux system I've never had an issue like that.

pyrossh avatar Nov 23 '16 06:11 pyrossh

Yes, I'm using docker for windows.

wclr avatar Nov 23 '16 11:11 wclr

Would you consider a PR for fb-watchman support with a fallback to filewatcher if watchman is not installed?

If so, what version of node are you targeting? Package.json engines says 0.8.0, but this PR has string interpolation which wasn't available until v4

pward123 avatar Nov 20 '18 12:11 pward123