Commit graph

1053 commits

Author SHA1 Message Date
Matt Green
d14ccaaa1a Fix Windows warnings 2016-10-26 11:52:00 -04:00
Matt Green
f04083a21d Use Process & ProcessReaper to handle async process waiting 2016-10-26 11:02:04 -04:00
Matt Green
1cc4d92345 PollWatcher sometimes reports directories with new/deleted files 2016-10-26 11:02:04 -04:00
Matt Green
35c1b5fe24 Merge pull request #18 from robinst/patch-1
README: Add rustup command for installing with nightly
2016-10-26 09:27:10 -04:00
Robin Stocker
52c5e9f4ce README: Add rustup command for installing with nightly
I had to figure out how to install watchexec with nightly using rustup.
A lot of people are probably not familiar with it, so include the commands.
2016-10-26 12:16:33 +11:00
Matt Green
542fdb91cb Update Homebrew formula 2016-10-25 07:50:41 -04:00
Matt Green
da46e3ffb5 Fix unused import warnings 2016-10-25 07:27:07 -04:00
Matt Green
f7771a4480 Mark process tests as Unix-only for now 2016-10-25 07:19:41 -04:00
Matt Green
50e583ca8c Some tests for the Runner module 2016-10-25 07:05:53 -04:00
Matt Green
3d3915844a Improve runner API 2016-10-25 05:47:53 -04:00
Matt Green
918fd668a5 Polishing up process group handling and handling of unresponsive child processes 2016-10-24 21:49:12 -04:00
Matt Green
d01da72e0b Forgot a #[cfg(unix)] marker on install() 2016-10-24 09:55:00 -04:00
Matt Green
0e0d14b475 Wait for FS activity to stop before proceeding; use interrupt handling 2016-10-24 09:53:06 -04:00
Matt Green
d10b790c35 Use rustfmt to fix outstanding style issues 2016-10-23 20:12:48 -04:00
Matt Green
6a812d31b4 Extract CLI arg handling to args module 2016-10-23 20:07:48 -04:00
Matt Green
7b766b1f98 Drop signal crate in favor of nix 2016-10-23 15:15:28 -04:00
Matt Green
f0d4a14e41 Fix Windows bugs relating to mutability 2016-10-22 17:05:43 -04:00
Matt Green
83b91e51d0 Refactor Runner a bit; add Drop impl for eventual use 2016-10-22 16:54:16 -04:00
Matt Green
a408975bdc Attempt fixing signal for Linux build 2016-10-22 16:12:28 -04:00
Matt Green
e67751bb56 Fix build errors on Windows 2016-10-22 15:51:17 -04:00
Matt Green
865b0b7d90 WIP: Add interrupt_handler module 2016-10-22 15:37:03 -04:00
Matt Green
5b34a5590c Remove version from Homebrew formula 2016-10-20 17:37:36 -04:00
Matt Green
1582240dbc Fix silly error 2016-10-20 14:30:05 -04:00
Matt Green
7d8f909220 Add watcher module, back to requiring nightly builds 2016-10-20 14:27:11 -04:00
Matt Green
03775b61ce No need to use before_exec() to call setpgid() 2016-10-20 12:09:51 -04:00
Matt Green
b16cbec3ee Fix compile error on Windows 2016-10-20 11:50:25 -04:00
Matt Green
8a6a540bb6 Use correct channel on AppVeyor 2016-10-20 11:45:25 -04:00
Matt Green
1f91654662 Require nightly Rust due to use of before_exec 2016-10-20 11:40:36 -04:00
Matt Green
532aed11bd Bump version to 1.2.0 2016-10-20 11:39:16 -04:00
Matt Green
f3c6df8845 Launch child processes in new process group 2016-10-20 11:38:51 -04:00
Matt Green
f0650274a0 Bump version to 1.1.1 2016-10-20 10:08:12 -04:00
Matt Green
0a08d3f8ef Fix polling always being used 2016-10-20 10:07:55 -04:00
Matt Green
8ed6ed60ea Update version to 1.1 2016-10-19 20:19:48 -04:00
Matt Green
90d6659141 Add --force-poll option; closes #7 2016-10-19 20:19:01 -04:00
Matt Green
a75dd49114 Set $WATCHEXEC_UPDATED_PATH to first changed path in child process;
closes #11
2016-10-19 19:40:50 -04:00
Matt Green
249e5a84e4 Search for .gitignore files in parent dirs; closes #10 2016-10-19 18:54:20 -04:00
Matt Green
f1597cc1a6 Merge pull request #13 from palfrey/12-run-initially
Option to run command initially, before first file change
2016-10-18 18:05:14 -04:00
Matt Green
2ceefe44db Merge pull request #9 from 4tm4j33tk4ur/clippy
some clippy-suggested improvements
2016-10-18 17:36:23 -04:00
Tom Parker
7eabee9f40 Initial command run is outside the loop! 2016-10-18 22:36:12 +01:00
Tom Parker
6887552aab Option to run command initially, before first file change (fixes #12) 2016-10-18 22:11:05 +01:00
Atmajeet Kaur
f7c628c7e1 some clippy-suggested improvements 2016-10-18 15:39:40 +02:00
Matt Green
dde7453a47 Add Cargo instructions; closes #8 2016-10-17 21:26:11 -04:00
Matt Green
22d98005fb Add package metadata 2016-10-17 21:26:11 -04:00
Matt Green
fd435785aa Merge pull request #6 from neodc/patch-1
Fix inconsistency in README
2016-10-17 14:58:49 -04:00
Noé De Cuyper
c4bbddc353 Fix inconsistency in README 2016-10-17 20:55:28 +02:00
Matt Green
ff2ce68779 Merge pull request #5 from gsquire/cfg
Use cfg attributes
2016-10-17 14:28:19 -04:00
Garrett Squire
59724589ea use cfg attributes instead of macro for OS specific functionality 2016-10-17 10:35:15 -07:00
Matt Green
5cd6ee5a9b Add install instructions for non-macOS users 2016-10-17 11:53:43 -04:00
Matt Green
57efffb0f2 Add badges 2016-10-15 14:03:23 -04:00
Matt Green
09386a61b1 Update Homebrew formula 2016-10-15 11:15:11 -04:00