Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 789 Bytes

File metadata and controls

46 lines (30 loc) · 789 Bytes

Nightwatch

Nightwatch is a command line tool to easily handle events on file system modifications.

Download & Docker

Download nightwatch from releases page. Linux (amd64, arm64, armhf), MacOS and Windows are supported.

COPY for Dockerfile:

COPY --from=jakolehm/nightwatch-amd64:1.0 /nightwatch /usr/bin

or

COPY --from=jakolehm/nightwatch-arm64:1.0 /nightwatch /usr/bin

Example Usage

Using --find-cmd:

$ nightwatch --find-cmd "find *.js" node app.js

Using --files:

$ nightwatch --files "package.json,src/" node app.js

Via STDIN:

$ find *.js | nightwatch node app.js

Building From Source

$ make build