0.0.6 • Published 7 years ago

watchrun v0.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

watchrun

Watching directory to ad hoc will run command.

Install

$ npm install -g ngyuki/watchrun

Example

Watching current directory.

$ watchrun date
Command: [ 'date' ]
Pattern: [ '**/*' ]

Update file by other console.

$ touch ./README.md

date command is run on first console.

$ watchrun ./ -- date
Command: [ 'date' ]

Waiting... changed README.md
Thu Apr  7 22:51:02 JST 2016

Waiting...

Use Shell

watchrun does not use shell to run command. Therefore, the following does not work.

watchrun 'gcc a.c && ./a.out'

Please use -c option of bash as below.

watchrun bach -c 'gcc a.c && ./a.out'
0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

11 years ago

0.0.1

11 years ago