Executes commands in response to file modifications
APACHE-2.0 License
Bot releases are hidden (Show)
Published by passcod about 6 years ago
My bad. My changes related to whitespace handling completely broke several use cases, e.g.:
watchexec -- 'echo foo; echo bar'
See discussion on #82.
This release reverts (comments out) those parts, but keeps everything else.
1: Other changes were added following this to convert more panics into normal errors: some glob parsing errors, and file watcher initialisation errors.
2: These changes also cause a breaking changes to the library interface, but this is not considered in the version numbers (i.e. if you use it, pin it). From cursory investigation only cargo-watch is a consumer and changes there in consequence are coordinated.
First release by @passcod! This release is merging in a variety of long-waiting improvements, but is otherwise fairly conservative.
WATCHEXEC_*_PATH
environment variables are now accurately documented — docsPublished by mattgreen about 7 years ago
Published by mattgreen about 7 years ago
Published by mattgreen over 7 years ago
Published by mattgreen over 7 years ago
Published by mattgreen over 7 years ago
./.*
ignore pattern, as it was often surprising and usually not needed with .gitignore
handling.--no-default-ignore
to explicitly disable all default ignores (@akerl)cargo watch
.-w
/--watch
option back to manually specify directories to watch. This is useful for cutting down on file descriptors used when watching deeply nested directory structures on Linux..gitignore
files from all watched directories, and then search upwards in the directory hierarchy for any additional ones that need to be loaded. When watching multiple directories with a common parent, .gitignore
files will only be loaded once..gitignore
files found for each notification from the outside in.--watch
option, as it has confusing semantics around where to find .gitignore
files. If you need it, file an issue.Published by mattgreen almost 8 years ago
Automatically deployed release
Published by mattgreen almost 8 years ago
Published by mattgreen almost 8 years ago
Published by mattgreen almost 8 years ago
--run-initially
flag.gitignore
files in parent dirs$WATCHEXEC_UPDATED_PATH
to the first updated path--force-poll
option