watchexec v1.10.0 Release Notes

Release Date: 2019-01-26 // about 5 years ago
  • ๐Ÿ†• 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's paths field is now a Vec<PathBuf> rather than a Vec<String>
    • cli::get_args() returns a Result 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.