Releases: Qard/onchange
Releases · Qard/onchange
Fix `outpipe`
Fixed
- Fixed
output(opts)
call
"Add" Flag
Added
- New
--add
flag to trigger initial add events from chokidar (before ready event) - Allow
--await-write-finish
to specify time
Fix kill logging
Fixed
- Fix logging of changes when exiting a process
Fix child command PID debugging
Fixed
- Print correct PID when debugging in verbose mode
Queue By Default
Changed
- Refactor module to enqueue changes by default, run task on every change
- Change
-j, --jobs
to support concurrent tasks - Exposed
-k, --kill
to enable old behaviour of killing previous task on change (e.g. old behaviour was-j1, -k
)
Expose "Await Write Finish"
Added
- Expose
awaitWriteFinish
option from chokidar
Update `chokidar`
Changed
- Update
chokidar
to 2.x - Update
cross-spawn
to 6.x
New `--filter` option
Added
- Pass
--filter
with a list of events to limit to
Fix `--wait` Option
Fixed
- Corrected the usage of
--wait
option
Outpipe
Added
- Enable the ability to use
-o
or--outpipe
to execute a command (and potentially pipe the regular command into here)