Commit Graph

906 Commits

Author SHA1 Message Date
Félix Saparelli
f2f138ce9f
Add logging to Watchexec 2021-08-22 02:53:20 +12:00
Félix Saparelli
019018c93e
Add docs for error_handler as it's a bit tricky 2021-08-21 22:30:19 +12:00
Félix Saparelli
816313303a
Finish handlers by implementing the error hook 2021-08-21 20:46:44 +12:00
Félix Saparelli
0f37e42243
Add action worker 2021-08-21 04:43:55 +12:00
Félix Saparelli
dcde429787
Improve handlers to not need GATs and provide various impls 2021-08-21 04:43:15 +12:00
Félix Saparelli
9f34492c79
Upgrade to notify pre.12 2021-08-20 02:59:39 +12:00
Félix Saparelli
95ad3e91ff
Add example / aspirational usage to lib doc 2021-08-20 02:56:13 +12:00
Félix Saparelli
6a46c2bff3
Refactor watchexec to only have &self methods and default to wrap it in Arc 2021-08-20 02:55:34 +12:00
Félix Saparelli
249c581dc9
Make channel buffers configurable 2021-08-19 21:28:56 +12:00
Félix Saparelli
5d11ccaa71
Add a bit more structure via documentation 2021-08-19 20:44:02 +12:00
Félix Saparelli
319729582f
Split signal and fs examples 2021-08-19 20:31:29 +12:00
Félix Saparelli
6f3abdeaea
Add RuntimeError::from_handler utility 2021-08-19 20:30:35 +12:00
Félix Saparelli
4e4a8e6853
Add Handler trait 2021-08-19 20:30:01 +12:00
Félix Saparelli
0bb38f40a5
Start off on main interface 2021-08-19 01:12:50 +12:00
Félix Saparelli
826dbd8cda
Make fs::worker Send 2021-08-19 00:40:35 +12:00
Félix Saparelli
cae00070fb
Remove chrono dep 2021-08-18 18:54:05 +12:00
Félix Saparelli
0237a568df
Handle signals into events 2021-08-17 21:41:13 +12:00
Félix Saparelli
f5e19a6e5f
Adapt Shell command builder 2021-08-17 03:09:22 +12:00
Félix Saparelli
7053360187
Clarify fs worker usage 2021-08-17 01:37:01 +12:00
Félix Saparelli
822148da03
Canonicalise paths + add example 2021-08-17 01:15:17 +12:00
Félix Saparelli
f08bdad8ee
Use local datetime on events instead of naive 2021-08-16 21:52:13 +12:00
Félix Saparelli
61fec2cf27
Use lib v1 for cli 2021-08-16 21:49:22 +12:00
Félix Saparelli
b15615bbaa
Start on watchexec v2 2021-08-16 21:49:12 +12:00
Félix Saparelli
e21a3a99f6 cli: v1.17.1 2021-07-31 06:37:29 +12:00
Félix Saparelli
13140c88c4 Temporarily disable rpm releases 2021-07-31 06:36:57 +12:00
Félix Saparelli
42c34a66a2
Install release tools with --locked 2021-07-31 06:18:47 +12:00
Félix Saparelli
c6ec9015f7
Add --notify to test 2021-07-31 05:26:26 +12:00
Félix Saparelli
d54d74854e
Add experimental --notify option
See #139
2021-07-31 05:11:42 +12:00
Félix Saparelli
a3173194a1
Implement cli's own wrapper handler
That will let us hook in watchexec-cli specific stuff
2021-07-31 04:24:05 +12:00
Félix Saparelli
3208652ed8
Add citation.cff 2021-07-29 00:45:13 +12:00
Félix Saparelli
aa99fa1674 Add bin/sign tool 2021-07-22 03:56:31 +12:00
Félix Saparelli
bc07ad486d cli: v1.17.0 2021-07-22 03:25:51 +12:00
Félix Saparelli
3948e4e9a0 Cache cargo bin in CI 2021-07-22 03:18:27 +12:00
Félix Saparelli
d7b7dcd5f0 Only install deb+rpm tooling on linux 2021-07-22 03:13:00 +12:00
Félix Saparelli
288eba37e0 Use lib 1.17.1 2021-07-22 01:36:56 +12:00
Félix Saparelli
bd96803d1e lib: v1.17.1 2021-07-22 01:36:33 +12:00
Félix Saparelli
0ab1405186
Ignore errors when killing command on pre-spawn 2021-07-22 01:36:19 +12:00
Félix Saparelli
7bd99f30df Use lib 1.17.0 2021-07-22 01:18:00 +12:00
Félix Saparelli
bf922e36ac lib: v1.17.0 2021-07-22 01:15:46 +12:00
Félix Saparelli
d8fb70c454
Cease with the 2015-style #[macro_use]s 2021-07-22 01:01:11 +12:00
Félix Saparelli
66caedf978
Add --no-process-group flag 2021-07-22 00:56:35 +12:00
Félix Saparelli
ef36d3429d
Fix expectation in windows path test 2021-07-22 00:47:52 +12:00
Félix Saparelli
73eef67206
Don't rely on bash being installed for windows tests 2021-07-22 00:47:02 +12:00
Félix Saparelli
3485bd7e16
Add windows tests for path/env handling 2021-07-22 00:40:05 +12:00
Félix Saparelli
f88c30b854
Another windows test fix 2021-07-22 00:22:39 +12:00
Félix Saparelli
18fdbbcfea Merge branch 'docs/website' 2021-07-22 00:18:13 +12:00
Félix Saparelli
85e2c12c34
Review readmes, add website links 2021-07-22 00:13:59 +12:00
Félix Saparelli
146d49ee8e
Update deps 2021-07-21 23:57:31 +12:00
Félix Saparelli
665f5ef6f0
Remove binstall metadata from the lib 2021-07-21 23:55:10 +12:00
Félix Saparelli
d59a76182a
Remove cargo install stub 2021-07-21 23:54:42 +12:00