https://github.com/tshm/watchex
watch files/folders and run command if they change.
https://github.com/tshm/watchex
Last synced: 3 months ago
JSON representation
watch files/folders and run command if they change.
- Host: GitHub
- URL: https://github.com/tshm/watchex
- Owner: tshm
- Created: 2013-05-02T07:10:10.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-03-02T14:23:27.000Z (over 2 years ago)
- Last Synced: 2025-01-14T23:57:36.265Z (over 1 year ago)
- Language: CoffeeScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
NAME
----
`watchex` -- watch files or folder and run a command when files change.
SYNOPSIS
--------
watchex command [FILE]...
DESCRIPTION
-----------
`watchex` will run a given `command` when given file(s) or folder(s) changes.
If FILE is not given, then it will watch current folder.
Key input `Enter` will terminate the command.
EXAMPLES
--------
This will run 'grunt build' if any file change under the current folder.
watchex 'grunt build'
This will run 'make test' when `lib/src.js` or `spec/src_spec.js` changes.
watchex 'make test' lib/src.js spec/src_spec.js