simple-file-watch
Simple-file-watch
Last updated 4 years ago by diversen .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install simple-file-watch 
SYNC missed versions from official npm registry.

Simple-file-watch

Install:

npm install -g simple-file-watch

Simple nodejs cli command that will watch for changes rescursively in a directory, and execute a command (optional) on changes.

Usage example:

simple-file-watch --extension='js,php' --path='.' --command='ls -l' --silence

If you run the command without any params, it will watch any file changes in current directory, and output some info to stdout. If you specify command then the the given command will be executed on file changes. If you specify extension then the command will only be executed on changes to files with the given extension.

Note: There is max on number of files you can watch. See:

http://stackoverflow.com/questions/16748737/grunt-watch-error-waiting-fatal-error-watch-enospc

License MIT

Current Tags

  • 2.0.1                                ...           latest (4 years ago)

5 Versions

  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (5)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |