Félix Saparelli
e5bb99a60b
Add shout-outs to friends of watchexec
2022-02-08 14:59:41 +13:00
Félix Saparelli
bd7a933906
cli: v1.18.6
2022-02-07 17:34:26 +13:00
Félix Saparelli
bdcbe5ca3c
lib: v2.0.0-pre.10
2022-02-07 17:18:21 +13:00
Félix Saparelli
55c02567e0
Bump lib version in cli if in pathed mode
2022-02-07 17:18:09 +13:00
Félix Saparelli
96a6a6e9d9
Revert ignoring .git only when Git is discovered
...
And so on from other VCS. This causes confusion (ref #255 ) when watching
from outside a git repo, where the VCS type isn’t detected so the .git
folder is included in the watchset. While slightly incorrect, it’s more
expected that these folders be ignored regardless, and there’s always
--no-default-ignore to avoid those ignores if needed.
2022-02-07 17:15:27 +13:00
Félix Saparelli
94b21c2da3
Load global ignores even when there’s no discovered VCS
...
Fixes #255
2022-02-07 17:15:27 +13:00
Félix Saparelli
965030b47b
Add help text to FsWatcherCreate on Linux
...
See #251
2022-02-07 17:15:27 +13:00
Félix Saparelli
e40744f033
Elevate FsWatcherCreate errors to critical
...
See #251
2022-02-07 17:15:27 +13:00
Félix Saparelli
c6f230a168
Pretty-print runtime errors
2022-02-07 17:15:27 +13:00
Félix Saparelli
427e4a0d08
Change on_error to let the handler raise a CriticalError
2022-02-07 17:15:27 +13:00
Félix Saparelli
8ebcf083b8
Start work on 1.18.6
2022-01-31 19:15:30 +13:00
Félix Saparelli
a890b0c916
Deduplicate paths in summarise_events_to_env
...
Fixes #253
2022-01-31 02:14:28 +13:00
Félix Saparelli
ba64fb3c38
cli: v1.18.5
2022-01-31 00:49:45 +13:00
Félix Saparelli
ada9888fdf
Use lib pre.9
2022-01-31 00:45:47 +13:00
Félix Saparelli
bc50c198b3
lib: v2.0.0-pre.9
2022-01-31 00:35:27 +13:00
Félix Saparelli
d7a305fc4c
Only run one outcome worker at a time
2022-01-31 00:05:43 +13:00
Félix Saparelli
2a9ee4de0b
Add detailed logging to process holder
2022-01-31 00:05:10 +13:00
Félix Saparelli
9a736c5eb9
Use newly &self Supervisor.wait to drop wait loop
2022-01-31 00:04:56 +13:00
Félix Saparelli
995d38078e
Use a tokio::watch in the supervisor to avoid races
2022-01-31 00:00:51 +13:00
Félix Saparelli
3e942c4d19
Double-check the ongoing atomic
2022-01-30 22:29:33 +13:00
Félix Saparelli
fdf4dcd13e
Provide opportunities for process holder to be queried concurrently to a wait()
2022-01-29 04:14:51 +13:00
Félix Saparelli
12ef0411f8
Don't log an error from outcome worker on graceful exit
2022-01-29 04:13:28 +13:00
Félix Saparelli
328700dd72
Stop holding supervisor handle
2022-01-29 04:13:08 +13:00
Félix Saparelli
c74eab5e91
Split up action in mods
2022-01-29 02:39:06 +13:00
Félix Saparelli
cc0c0be45a
Save a pointer by passing around an Arc<[T]> instead of Arc<Vec<T>>
2022-01-29 02:17:23 +13:00
Félix Saparelli
22f081a47b
Spawn outcome apply separately from action loop
2022-01-29 02:08:34 +13:00
Félix Saparelli
10b31a0269
Wrap Supervisor in a RwLock
2022-01-29 02:08:34 +13:00
Félix Saparelli
a651d149b0
Replace AtomicTakes with HandleLocks in action
2022-01-29 02:08:34 +13:00
Félix Saparelli
b8ffa0c38a
Formatting
2022-01-29 02:08:34 +13:00
Félix Saparelli
9845d48464
Add HandlerLock wrapper
...
This lets a Handler be shared (via a Tokio mutex)
2022-01-29 02:08:34 +13:00
Félix Saparelli
d9006a240d
Remove keep_* config methods
2022-01-29 02:08:25 +13:00
Félix Saparelli
c444895593
Move swaplock to the root
2022-01-28 23:32:54 +13:00
Félix Saparelli
18a2b204e2
Hide io::errors when "waiting on process group"
2022-01-27 10:48:24 +13:00
Félix Saparelli
c79d2726ba
Disable Windows ARM64 builds
...
They're consistently failing, needs debugging.
2022-01-26 10:25:33 +13:00
Félix Saparelli
7ccd3c92e0
cli: v1.18.4
2022-01-26 10:04:09 +13:00
Félix Saparelli
e6d80558f8
Use lib pre.8
2022-01-26 10:03:53 +13:00
Félix Saparelli
fc40336db7
lib: v2.0.0-pre.8
2022-01-26 10:01:15 +13:00
Félix Saparelli
a6c997f470
globset: Always pass non-path events ( #248 )
2022-01-26 09:59:53 +13:00
Félix Saparelli
366277c6c1
Add issue templates
2022-01-26 08:10:14 +13:00
Félix Saparelli
96a41e1b4c
Remove unused Result<> return
2022-01-26 03:24:15 +13:00
Félix Saparelli
77ee59a9e3
cli: v1.18.3
2022-01-26 02:36:27 +13:00
Félix Saparelli
d067b5a5de
Use lib pre.7
2022-01-26 02:36:01 +13:00
Félix Saparelli
f6a3b76d92
lib: v2.0.0-pre.7
2022-01-26 02:33:28 +13:00
Félix Saparelli
a5e756df7c
Remove unused check_glob utility
2022-01-26 01:58:01 +13:00
Félix Saparelli
59d8388d7e
globset: allow multipath events through if any path passes the filter
2022-01-26 01:51:48 +13:00
Félix Saparelli
42d64d0a6d
Fail all folders on extension check
2022-01-26 01:18:32 +13:00
Félix Saparelli
6cebaf204f
Restore shell default to sh on unix ( #240 )
2022-01-26 01:06:18 +13:00
Félix Saparelli
94b4dffc02
Merge pull request #243 from abitrolly/patch-1
...
cli/README.md: Need glob pattern to ignore subdirs
2022-01-25 23:23:51 +13:00
Anatoli Babenia
8c8cdf8e82
cli/README.md: Need glob pattern to ignore subdirs
2022-01-25 13:21:41 +03:00
Félix Saparelli
5bdd87dbf6
Merge pull request #242 from aeolyus/main
...
Fix spawing -> spawning typo
2022-01-25 22:40:48 +13:00