nightwatch

command module
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2020 License: MIT Imports: 13 Imported by: 0

README

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.1 /nightwatch /usr/bin

or

COPY --from=jakolehm/nightwatch-arm64:1.1 /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

Testing

cd examples/bash
nightwatch --debug simple.sh

Testing with docker-compose

cd examples
docker-compose build
docker-compose run example nightwatch --debug bash/simple.sh

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
examples
go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL