Releases: Qard/onchange
Releases · Qard/onchange
Polling
Added
- Enable support for polling (use
--poll
) - Enable support for
--no-exclude
(overrides the default exclusion ofnode_modules
)
Only `kill` process once
Changed
- Avoid killing the process a number of times (cf04014)
Update chokidar
Changed
- Update to
chokidar@~1.6.0
Use `tree-kill`
Added
- Using
tree-kill
to kill the entire script tree (works better for NPM scripts) - Add
--delay
,-d
for delaying time until next script is run
Update Dependencies
Changed
- Update
chokidar
dependency - Update
cross-spawn
dependency
Expose CLI flag: `--cwd`
Fixed
- Type definition
cwd
option
Changed
- Use
path.resolve
oncwd
option - Log entire command being executed with verbose output
Added
- New
--cwd
option for CLI
New Flag: --wait
Added
- Implement
-w
flag, waits for the current process to finish instead of killing it
Update Programmatic API
Changed
- Make
args
andopts
optional - Expose
exclude
andcwd
options - Create
typings
for TypeScript users
v2.1.2
Changed
- Handle possible slow closing processes by removing process close previous listeners
v2.1.1
Changed
- Normalize verbose logging prefix
- Log when the command is actually restarted