Releases: Qard/onchange
Releases · Qard/onchange
Add File Replacements
Added
- Add new replacements for string interpolation (#114)
file
,fileExt
,fileBase
,fileBaseNoExt
,fileDir
Fix Exclude Path
Fix CLI Exclude
Arg
Changed
- Refactor package using
arg
--exclude
no longer wipes out the default exclude, use--no-exclude
if this behavior is wanted--poll
must be provided a number
- Removes
FORCE_COLOR
override in favor ofTTY
detection- If this breaks functionality, we can add this back as needed, please file an issue!
- Main package exports an
onchange
function which returns a function to "close"- The main export expects only one argument -
options
- The main export expects only one argument -
Fix TTY detection for commands
Fixed
- Fix TTY colors by passing
stdio
arguments explicitly (#109)
Add `--exclude-path` Support
Added
- Support
--exclude-path
argument to read a.gitignore
formatted file for exclusion directives
Chokidar 3.0
Changed
- Updated
chokidar
to latest which supports node.js 8+ only and includes major perf improvements
Keep color in jobs
Changed
- Use
FORCE_COLOR
andsupports-color
to detect and pass through color support to child scripts
Echo Script Quoting
Fixed
- Better quote
node echo.js
when special characters exist in the command (e.g. spaces)
Avoid Ending Outpipe
Fixed
- Avoid call
end
when writing outpipe to stdout or stderr