Matt Green
f9a3cade26
Add common VCS dirs to default ignore list ( fixes #54 )
2017-04-27 15:20:44 -04:00
Matt Green
0696b5266b
1.8.1
2017-04-26 10:13:02 -04:00
Matt Green
a63006bc44
Merge pull request #53 from akerl/feature/no-default-ignore
...
Add no-default-ignore option, fixes #45
2017-04-26 09:20:33 -04:00
Les Aker
58ff772d62
add docs for no-default-ignore
2017-04-25 21:17:46 -04:00
Les Aker
356dac189d
add no-default-ignore option, fixes #45
2017-04-25 21:17:45 -04:00
Matt Green
fe0d5243bd
Remove /.* ignore pattern (see #45 )
2017-04-25 16:48:44 -04:00
Matt Green
d64ced0250
Merge pull request #52 from passcod/library-interface
...
Add a library interface
2017-04-25 15:53:05 -04:00
Félix Saparelli
158d0dc9c4
Update to clap 2.22
2017-04-25 11:42:47 +12:00
Félix Saparelli
f5bf4ef98b
Add library interface
2017-04-25 11:31:50 +12:00
Matt Green
f3093faf97
1.8.0
2017-04-19 17:34:46 -04:00
Matt Green
912ed136f1
Note that Rust 1.15 is required
2017-04-17 12:52:46 -04:00
Matt Green
eea9428f41
Merge pull request #48 from chr4/no_shell
...
Add support for --no-shell option
2017-04-12 11:17:42 -04:00
Chris Aumann
f88f1b36c3
Refactor command assembly
...
Kudos to https://www.reddit.com/user/burntsushi from the /r/rust community!
See: https://www.reddit.com/r/rust/comments/64ic0q/idiomatic_string_processing/
2017-04-10 14:13:27 +02:00
Chris Aumann
a395ed84cd
Remove useless format!()
...
This was a hint by `cargo clippy`
2017-04-10 00:20:57 +02:00
Chris Aumann
df72aaf977
Use if-else statements instead of boolean match
...
This was a hint by `cargo clippy`
2017-04-10 00:20:57 +02:00
Chris Aumann
780b54b34e
Port --no-shell to Windows
2017-04-10 00:20:57 +02:00
Chris Aumann
5a7ccf759b
Adapt spawn() test for Unix
2017-04-10 00:20:27 +02:00
Chris Aumann
ea130dd021
Add documentation for --no-shell
2017-04-10 00:20:27 +02:00
Chris Aumann
ee5e93e6af
Add support for --no-shell option
2017-04-10 00:19:58 +02:00
Matt Green
5d5bc4f17b
Merge pull request #49 from chr4/minor_typo_fixes
...
Minor typo fixes
2017-04-09 17:10:30 -04:00
Chris Aumann
5b486e2ae6
Remove deprecated comment (before_exec)
2017-04-06 22:54:02 +02:00
Chris Aumann
e509ed0b18
Remove unnecessary space from watchexec.1.html
2017-04-06 22:53:14 +02:00
Matt Green
00a339a2f1
Merge pull request #43 from chr4/signal_flag
...
Signal flag
2017-04-03 12:04:52 -04:00
Chris Aumann
264ec282d6
Use a tuple to match scenarios
2017-04-02 21:28:00 +02:00
Chris Aumann
4763de3790
Re-add --kill flag for compatibility
...
--kill translates to --signal SIGKILL
2017-04-02 21:21:30 +02:00
Chris Aumann
627f828b3c
Rename wait_process() to signal_process()
2017-04-02 21:21:30 +02:00
Chris Aumann
f5f65c3a28
Add --signal documentation to doc/*
2017-04-02 21:21:30 +02:00
Chris Aumann
d5da94fcaf
Add check for conflicting --signal and --postpone arguments
2017-04-02 21:21:30 +02:00
Chris Aumann
14941c89d2
Add SIGHUP example to README
2017-04-02 21:21:30 +02:00
Chris Aumann
c98d0e6cfd
Decouple --restart and --signal, so they both make sense
...
This change takes account of the following four use cases:
1. Make sure the previous run was ended, then run the command again (default)
2. Just send a specified signal to the child, do nothing more (--signal given)
3. Send SIGTERM to the child, wait for it to exit, then run the command again (--restart given)
4. Send a specified signal to the child, wait for it to exit, then run the command again (--restart and --signal given)
2017-04-02 21:21:30 +02:00
Chris Aumann
56ddfcbaee
Apply rustfmt-0.8.1
2017-04-02 21:21:30 +02:00
Chris Aumann
3a5ff290d5
Use a more idiomatic way to set --signal
2017-04-02 21:19:53 +02:00
Chris Aumann
debfafb47b
Adapt README to --signal option
2017-04-02 21:19:53 +02:00
Chris Aumann
a2f6b0013f
Add windows compatibility
2017-04-02 21:19:53 +02:00
Chris Aumann
0a445c9f76
Move convert_to_libc() method to signal.rs
2017-04-02 21:19:53 +02:00
Chris Aumann
4adde457dd
Actually use signal specified in --signal option
2017-04-02 21:19:53 +02:00
Chris Aumann
382981e22d
Add more signals to SigSet mask
2017-04-02 21:19:53 +02:00
Chris Aumann
eebe966b50
Remove deprecated signal functions
2017-04-02 21:19:53 +02:00
Chris Aumann
24e9b0c1c5
Migrate to nix::sys::signal::Signal
2017-04-02 21:19:52 +02:00
Chris Aumann
68caf04269
First commit to add a generic --signal flag
2017-04-02 21:19:52 +02:00
Matt Green
ffc68fb4df
Merge pull request #44 from chr4/before_exec
...
Use before_exec as process_exec landed in stable
2017-03-31 12:31:53 -04:00
Matt Green
0cd2a8f037
Merge pull request #46 from ootoovak/patch-1
...
Fix headers in Readme file.
2017-03-31 12:26:43 -04:00
Samson Ootoovak
ee5f7509b5
Fix headers in Readme file.
...
Just added spaces so the markdown recognises the headers.
2017-03-27 21:56:06 +13:00
Chris Aumann
f62c3724b2
Use before_exec as process_exec landed in stable
2017-03-24 17:11:24 +01:00
Matt Green
4fffb534b6
Fix atrocious spacing in Makefile
2017-02-07 10:30:47 -05:00
Matt Green
9e68f0c063
Add Homebrew + Cargo targets
2017-02-06 18:15:51 -05:00
Matt Green
0e371d1c56
Update docs for 1.7.0
2017-02-05 13:29:38 -05:00
Matt Green
5427f9fe93
Add category
2017-02-05 13:18:22 -05:00
Matt Green
125e7eb7c8
rustfmt & clippy fixes
2017-02-04 16:26:59 -05:00
Matt Green
e16a6b3a24
Support watching multiple paths
2017-02-04 16:18:02 -05:00