Accepted answer

As described on GitHub, you can do this:

watchOptions: {
    poll: true

Or, in the package.json, instead of --watch do --watch --watch-poll.


I found a workaround; I have a reverse proxy(nginx) running in a container. The proxy forwards back to my main host computer(a Mac) on a port. This gives me hot loading and most important, I have no issues with cross domain as I have my database running in yet another container.


If you are just looking for a proper file watching solution on a mac with Docker, check out docker-osx-dev. It uses boot2docker behind the scenes, but adds rsync support. I tried it and it works great for file changes.

Related Query

More Query from same tag