Watch for any changes recursively in specific directories.
Docker image: williamyeh/fswatch
Detailed article: Inotify in Containers.
Executable binaries for 3 platforms are provided in this image. You can extract them under Linux or Mac OS X:
% docker run -v $(pwd):/mnt williamyeh/fswatch ./copy-files.sh
or under Windows:
C:> docker run -v %cd%:/mnt williamyeh/fswatch ./copy-files.sh
fswatch - Watch for changes in file system.
Usage:
fswatch <dir>...
-
fsnotify: Cross-platform file system notifications for Go.
Apache License 2.0. See the LICENSE file.