Old fsnotify dependency doesn't detect file changes when using Docker for Mac #4506
General summary/comments (optional)
Steps to reproduce
(In vim, you will need to ensure
Method of installation
The text was updated successfully, but these errors were encountered:
While Docker for Mac isn't officially supported for Stack's Docker integration (lots of little ways in which it differs from native Linux docker), we do like it to work as well as possible. Please feel free to make a PR that upgrades the fsnotify dependency in
lts-11.22 includes fsnotify-0.2.1.1, which listens to Modify events on Linux rather than CloseWrite events. For many applications the difference is neglible because writing a file will result in both events, but if you run stack inside of docker on Mac this breaks the --file-watch option because the file sharing integration only emits Modify events, never CloseWrite events. fsnotify-0.3.0.1 changed to listen to Modify events rather than CloseWrite events. Switching to the new version fixes the issue.