Nightwatch is a command line tool to easily handle events on file system modifications.
Download nightwatch from releases page. Linux (amd64, arm64, armhf), and MacOS are supported.
COPY for Dockerfile:
COPY --from=jakolehm/nightwatch-amd64:0.4 /nightwatch /usr/bin
or
COPY --from=jakolehm/nightwatch-arm64:0.4 /nightwatch /usr/bin
$ nightwatch --find-cmd "find *.js" node app.js
$ make build