2 ms·
This is great, until you need to watch a tree of files in macOS. Then docker takes a core to do the fsnotify/watch. There are caching settings to make it bett
by wiredfool 5y ago
This is great, until you need to watch a tree of files in macOS. Then docker takes a core to do the fsnotify/watch.
There are caching settings to make it better, but there are race conditions between the watch and when file contents change, so sometimes the JS stack will compile an inconsistent file.
OTOH, on linux, it's grand.
- bdcravens 5y agodocker-sync fixes this by using an intermediate container that handles sync (I believe there are other options which work essentially the same way). It supports ignoring files you don't need on your main machine, like tmp folders and the like, which can improve performance further. http://docker-sync.io/ http://docker-sync.io/