github watchexec/watchexec 1.10.0
1.10.0: Fixes, updates, some more API surface

latest releases: bosion-v1.1.0, v2.1.1, v2.1.0...
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.

Don't miss a new watchexec release

NewReleases is sending notifications on new releases.