UNPKG

@aleclarson/watchlist

Version:

Recursively watch a list of directories & run a command on any file system changes

11 lines (8 loc) 497 B
# @aleclarson/watchlist A fork of [watchlist](https://github.com/lukeed/watchlist) with the following changes: - Stream the command output as it happens - Fixed: If a file is changed during the command, execute the command again immediately after completion - More reliable debouncing via `setTimeout` - Avoid crashing the process when the command fails - Removed the `run` function from `./src/index.js` - Fixed import from TypeScript module where `moduleResolution` is `bundler` or `nodeNext`