Populært: Data oppdatert 27. oktober 2026

Kategorier

Internett1 356
Kommunikasjon321
Lyd og video898
Grafikk og design539
Kontor og produktivitet1 124
Utviklerverktøy3 134
KI-verktøy529
Sikkerhet og personvern385
Systemverktøy3 114
Spill523
Utdanning og vitenskap239
Nettverk og IT284

watchexec: eldre versjoner og versjonshistorikk

Executes commands in response to file modifications

Her finner du 1 versjon av watchexec, fra 24. august 2026 til gjeldende 2.7.0. Hver av dem lenker til utgiverens egne installasjonsfiler.

2026: 1 1 26
VersjonDatoStørrelseFiler
2.7.0Nyeste 24. august 2026 — 64-bit ZIPARM64 ZIP
Endringslogg
Watchexec now only traverses and watches directories that are expected to produce events (according to filter/ignore files and patterns). This means that if you have a very large directory tree, and 90% of it is gitignored, Watchexec will no longer go through and add watches to that 90% at all. Thus:
- startup in those cases should be much faster and less resource-intensive
- ongoing performance should also improve (as there will be vastly fewer events to process), though that may be less perceptible
The way this is achieved is by handling all directory traversal/recursion within Watchexec, instead of letting the Notify library handle it. This is a large amount of work and code, and it's expected that there will be new bugs as a result. However, this limitation was also the underlying source of a number of long-standing bugs, and I quite look forward to close some very old issues as a result.
:; hyperfine 'watchexec-2.7.0 -1 echo' 'watchexec-2.6.1 -1 echo'
Benchmark 1: watchexec-2.7.0 -1 echo
Time (mean ± σ): 158.9 ms ± 2.2 ms [User: 199.6 ms, System: 63.3 ms]
Range (min … max): 155.8 ms … 163.1 ms 18 runs
Benchmark 2: watchexec-2.6.1 -1 echo
Time (mean ± σ): 387.1 ms ± 2.4 ms [User: 157.5 ms, System: 366.3 ms]
Range (min … max): 382.0 ms … 390.0 ms 10 runs
Summary
watchexec-2.7.0 -1 echo ran
2.44 ± 0.04 times faster than watchexec-2.6.1 -1 echo
^{(The -1 option is a hidden test-only option which starts watchexec normally, runs the command, and exits.)}
On BSD, the kqueue backend has been disabled; those platforms will use polling instead. kqueue is not designed for this kind of thing, and using it thus has significant downsides, such as heavy kernel resource usage, as well as correctness bugs. FreeBSD 14 and up have native inotify support; Watchexec does not yet take advantage of this but will in the future (it comes in with Notify 9, which is currently in RC).
Watching a single file no longer stops watching it when it is replaced (#190). Similarly, though this is less common, if a folder being watched (using -W or -w) is deleted and recreated, Watchexec used to lose the watch and no longer produce events. That was because the watch was placed on the file (or folder) object, not on a pathname string, and replacing the object naturally makes the watch disappear along with the old version of the object. Watchexec now watches from one path segment above, so it can notice when a watch gets replaced; because it also does directory tree filtering, this is not significantly more expensive.

Mest populær i Programmeringsspråk og SDK-er

Se alle
  1. Go Programming LanguageProgrammeringsspråk og SDK-er
  2. LLVMProgrammeringsspråk og SDK-er · LLVM
  3. DenoProgrammeringsspråk og SDK-er · Deno Land Inc.
  4. CMakeProgrammeringsspråk og SDK-er · Kitware
  5. YarnProgrammeringsspråk og SDK-er · Yarn Contributors
  6. CcacheProgrammeringsspråk og SDK-er · Joel Rosdahl
  7. sbtProgrammeringsspråk og SDK-er · Lightbend, Inc.
  8. BOINCProgrammeringsspråk og SDK-er · Space Sciences Laboratory, U.C. Berkeley
  9. Dart SDKProgrammeringsspråk og SDK-er · Google
  10. NVM for WindowsProgrammeringsspråk og SDK-er · Ecor Ventures LLC

Stikkord

Del