1.2.2 • Published 8 years ago

watch-exec v1.2.2

Weekly downloads
222
License
MIT
Repository
github
Last release
8 years ago

watch-exec

Run a specified command when any files in the target directory change.

Installation

$ npm install -g watch-exec

Usage

$ watch-exec -c [command] -w [path]

Notifications

To use the --notify flag for desktop notifications when the command completes or fails, you will need to have Growl notifications available to NodeJS.

  • Mac OS X (Darwin): brew install terminal-notifier
  • Ubuntu (Linux): sudo apt-get install libnotify-bin
  • Windows: 1. Download and install Growl for Windows. 2. Download growlnotify and (important) unpack it to a folder in your path.

If these instructions are not working correctly, check the installation steps for node-growl, which is used internally by watch-exec.

Thanks to @naholyr for adding support for notifications!

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago