New API features
The API now enables:
- parsing a command line string into watchexec
Args
- writing one's own handler to react to changes
- a lot more errors to be caught instead of panicking
This also has creates two minor breaking changes:
Args
'spaths
field is now aVec<PathBuf>
rather than aVec<String>
cli::get_args()
returns aResult
rather than nothing
This was done in #105, prompted by #104 and #103.
Clap update
This formalises the fix to #76.
Support commands that allocate their own TTY
Through setsid, thanks to @Mange (#102).
Fixes #47 and some other issues downstream.
An attempt to fix some issues clearing screens under some Windows configurations
These are hard to guess at / repro. Maybe it helped #99.
Dependency upgrades
- Notify 4.0.7 brings in some fixes, notably a performance/battery-saving optimisation on Linux.
- Regex 1.1.0 brings in some performance improvements for (git)ignore patterns
Some progress towards manual restarts
As part of the API changes, file-triggered runs and manual runs are now explicitly differentiated, which will help when eventually implementing #67.