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--excludeno longer wipes out the default exclude, use--no-excludeif this behavior is wanted--pollmust be provided a number
- Removes
FORCE_COLORoverride in favor ofTTYdetection- If this breaks functionality, we can add this back as needed, please file an issue!
- Main package exports an
onchangefunction 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
stdioarguments explicitly (#109)
Add `--exclude-path` Support
Added
- Support
--exclude-pathargument to read a.gitignoreformatted file for exclusion directives
Chokidar 3.0
Changed
- Updated
chokidarto latest which supports node.js 8+ only and includes major perf improvements
Keep color in jobs
Changed
- Use
FORCE_COLORandsupports-colorto detect and pass through color support to child scripts
Echo Script Quoting
Fixed
- Better quote
node echo.jswhen special characters exist in the command (e.g. spaces)
Avoid Ending Outpipe
Fixed
- Avoid call
endwhen writing outpipe to stdout or stderr