A workaround is needed to make file change notification work under Docker for Windows:
# install Python via Chocolatey
choco install python
# install workaround Python script via PIP
pip install docker-windows-volume-watcher
# activate watcher workaround for all running Docker containers
docker-volume-watcher # leave running while you want watchers to work
Within any Habitat container/studio you want to use a watcher in, the stat
and chmod
commands must be binlinked for docker-volume-watcher
's tricks to work
hab pkg binlink core/coreutils -d /bin stat
hab pkg binlink core/coreutils -d /bin chmod