Commit graph

151 commits

Author SHA1 Message Date
Félix Saparelli
1ce238949e
Reduce verbosity of tracing span output 2022-01-15 16:40:01 +13:00
Félix Saparelli
00def9e19a
Use pretty logging at high -vvvv 2022-01-15 15:14:25 +13:00
Félix Saparelli
2c840f4a2d
Reorganise the ignore mod for brevity 2022-01-15 15:12:32 +13:00
Félix Saparelli
5f43a6eae8
Move profile to where it's effective 2022-01-15 14:34:37 +13:00
Félix Saparelli
0e12030e3b
Perform fat LTO in release 2022-01-13 01:02:37 +13:00
Félix Saparelli
23a3482361
Include some debug info in release, but compress it for prebuilds 2022-01-13 01:02:22 +13:00
Félix Saparelli
6a541e5f27
Move ignore_files one level deeper
in preparation for new ignore functionality
2022-01-10 20:47:06 +13:00
Félix Saparelli
163bcc3022
Adjust display of errors and exit notify 2022-01-01 01:33:52 +13:00
Félix Saparelli
7fa657fc48
Update cli readme 2021-12-29 22:06:50 +13:00
Félix Saparelli
d0bb14f39c
Maintain the naming of the env vars 2021-12-29 21:36:42 +13:00
Félix Saparelli
9ed3645088
Add environment vars support 2021-12-29 20:55:09 +13:00
Félix Saparelli
4dbb924977
Add default ignores 2021-12-29 20:14:29 +13:00
Félix Saparelli
b5da4e31ba
Add -h testing 2021-12-29 19:56:02 +13:00
Félix Saparelli
736f7f1270
Reorder items in help output
Apparently clap goes by the internal option name, not the display :(
2021-12-29 19:36:40 +13:00
Félix Saparelli
a00912f17f
Implement --no-meta for default filterer 2021-12-29 19:29:45 +13:00
Félix Saparelli
e2f6fe147a
Support no-{global,project,vcs}-ignore 2021-12-29 19:19:43 +13:00
Félix Saparelli
be4b184cd0
Revise --no-ignore and --no-vcs-ignore help text for clarity and conciseness 2021-12-29 19:10:17 +13:00
Félix Saparelli
b300be081f
Fix help test files 2021-12-29 19:00:54 +13:00
Félix Saparelli
ea3f09408f
Fix new option name 2021-12-29 18:53:47 +13:00
Félix Saparelli
ffcdf17914
Implement tagged's --no-meta 2021-12-29 18:51:51 +13:00
Félix Saparelli
c45840b657
Load global and -F filter files 2021-12-29 18:39:31 +13:00
Félix Saparelli
db322f1228 Fix --help test 2021-12-24 19:14:57 +13:00
Félix Saparelli
75f14ba3d6
Fix OsSplit in windows 2021-12-24 19:07:01 +13:00
Félix Saparelli
08a1e7cc67
Hook up --notify 2021-12-24 19:06:01 +13:00
Félix Saparelli
6f8049dd93
Hook up --ignore, --filter, --exts properly 2021-12-24 18:51:35 +13:00
Félix Saparelli
6cd2252b6c
Modify options available if tagged filterer enabled 2021-12-24 03:56:03 +13:00
Félix Saparelli
bb212b413f
Process --no-process-group 2021-12-24 03:47:15 +13:00
Félix Saparelli
ec49185488
Split tagged and globset filterer in cli 2021-12-24 03:37:51 +13:00
Félix Saparelli
d64135c2c0
Upgrade tracing-subscriber to 0.3 2021-12-24 02:35:26 +13:00
Félix Saparelli
c3094eaff8
Upgrade to tokio-console 0.1 2021-12-24 02:28:21 +13:00
Félix Saparelli
26254f7022
Add support for "tagged filter files" 2021-12-24 02:20:56 +13:00
Félix Saparelli
401b84db8a Clippy 2021-12-21 18:15:47 +13:00
Félix Saparelli
f304774a4f
Mention windows 11 in manifest 2021-12-07 00:50:56 +13:00
Félix Saparelli
a46cfba1a2
Pre-add support for logical grouping of options in help
Will work once we switch to clap3
2021-11-22 21:24:59 +13:00
Félix Saparelli
963cd68cc4 Fix cli for ProcessEnd 2021-10-22 05:48:37 +13:00
Félix Saparelli
401437784d
Opt in to 2021 ed 2021-10-20 01:00:21 +13:00
Félix Saparelli
be37349b90
Bump msrv to 1.56.0 (2021 ed) 2021-10-20 00:48:47 +13:00
Félix Saparelli
96de715cf7
Fix cli test on windows?
This won't matter for long
2021-10-17 03:59:22 +13:00
Félix Saparelli
2225b6d097
Reduce deps featureset 2021-10-16 17:27:21 +13:00
Félix Saparelli
083c1e2f52 Move common_prefix to its own mod 2021-10-16 13:55:20 +13:00
Félix Saparelli
75243bfdad
Rename Signal to MainSignal
in preparation for another signal type
2021-10-16 01:13:16 +13:00
Félix Saparelli
b780345e8b Use mimalloc for musl builds 2021-10-15 14:27:32 +13:00
Félix Saparelli
948388b019 Reduce featureset of dependencies (tokio,git2) 2021-10-15 14:27:17 +13:00
Félix Saparelli
14b0364135
Get filetype filters actually working 2021-10-14 01:26:15 +13:00
Félix Saparelli
ae6af17aea
Find and load all ignores for watchexec cli 2021-10-14 00:38:56 +13:00
Félix Saparelli
f16ba2dff1
Redo and sketch new filter adding process 2021-10-13 00:48:42 +13:00
Félix Saparelli
8bc58ba6b5
Start sketching gitignore support 2021-10-09 18:45:32 +13:00
Félix Saparelli
a1fce1b06e
Replace eyre with miette
and upgrade it to 3.2.0
2021-10-09 18:43:51 +13:00
Félix Saparelli
81bee9513d
Remove derive-builder
* the InitConfigBuilder non-miette error goes away
* creating an InitConfig is no longer faillible for no reason
* the "builder" style is consistent between the two config structs
2021-10-09 18:37:59 +13:00
Félix Saparelli
07878f8357
Implement path filtering 2021-09-30 04:03:46 +13:00
Félix Saparelli
dfb5525c7e Add tokio-console 2021-09-29 01:47:18 +13:00
Félix Saparelli
30dae61a02
Add filtering to demo CLI 2021-09-28 22:25:56 +13:00
Félix Saparelli
645ab74c62
Implement Outcome::Wait, and CLI on-busy=queue 2021-09-03 09:25:23 +12:00
Félix Saparelli
b923638cbd
Correctly watch for process completion 2021-09-03 09:25:06 +12:00
Félix Saparelli
07f5e445f6
Use Event Display impl in cli 2021-09-03 07:58:20 +12:00
Félix Saparelli
29e7780fdc
Add process completion handling to cli demo 2021-09-03 05:43:53 +12:00
Félix Saparelli
8e4994abca
Add process supervisor to watch command to completion
Also change the concept of a completion handler to instead sending a
synthetic "process completed" event down the same path as usual.

That makes handling completion the job of the action handler, but also
means it's immediately possible to launch a process or do an action in
response to the process completing. Win win!
2021-09-03 05:22:15 +12:00
Félix Saparelli
1fd5c85317 Good idea but let's keep compat for now 2021-08-25 02:40:22 +12:00
Félix Saparelli
6df6d6fd5a Handle signals in cli 2021-08-24 23:19:44 +12:00
Félix Saparelli
7d492fa677
Hide --watch-when-idle from help 2021-08-24 22:56:15 +12:00
Félix Saparelli
70e8a4dff2
Fix cli tests 2021-08-24 22:53:44 +12:00
Félix Saparelli
58b37940b8 Implement most existing options and mark the rest 2021-08-24 22:46:16 +12:00
Félix Saparelli
e939f97c90
Move config creation out of arg parsing, and start on using libv2 2021-08-24 20:23:37 +12:00
Félix Saparelli
23d794ed7e
Apply tabs project-wide 2021-08-24 20:22:25 +12:00
Félix Saparelli
61fec2cf27
Use lib v1 for cli 2021-08-16 21:49:22 +12:00
Félix Saparelli
e21a3a99f6 cli: v1.17.1 2021-07-31 06:37:29 +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
bc07ad486d cli: v1.17.0 2021-07-22 03:25:51 +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
7bd99f30df Use lib 1.17.0 2021-07-22 01:18:00 +12:00
Félix Saparelli
66caedf978
Add --no-process-group flag 2021-07-22 00:56:35 +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
f5a92220c9
Drop debounce to 100ms (#168) 2021-07-21 23:44:24 +12:00
Félix Saparelli
07974e0d14
Implement @argfile argument parsing (#145) 2021-07-17 02:10:03 +12:00
Félix Saparelli
54ac2e9ae0
Use color-eyre for application errors rather than the library's error type 2021-07-17 01:33:04 +12:00
Félix Saparelli
0c25ea0269 cli: v1.16.2 2021-07-10 20:08:45 +12:00
Félix Saparelli
6457df5a0a Use 1.16.1 lib in cli 2021-07-10 20:08:23 +12:00
Félix Saparelli
604c24ec38 Link to website for downloads 2021-07-10 03:48:12 +12:00
Félix Saparelli
e6c7da3635 Add rpm support with cargo-generate-rpm 2021-07-10 03:48:12 +12:00
Félix Saparelli
1eaaf7e844 Use cargo-deb to replace existing deb kludge 2021-07-10 03:48:12 +12:00
Félix Saparelli
654a324fdd Set website as website 2021-07-10 03:48:12 +12:00
Félix Saparelli
960bbbabbc cli: v1.16.1 2021-05-22 20:05:57 +12:00
Félix Saparelli
d8540d76b8
Fomat and clippy 2021-05-10 23:37:03 +12:00
Félix Saparelli
319727b0a6
It was in the wrong place the whole time! 🤬 2021-05-10 23:27:53 +12:00
Félix Saparelli
7e4ff78bc4
🤦 2021-05-10 23:21:30 +12:00
Félix Saparelli
169de99ee5
Whoops, wrong file 2021-05-10 23:15:14 +12:00
Félix Saparelli
cb684fc7a8
Fix help snapshot for windows (.exe!) 2021-05-10 23:10:30 +12:00
Félix Saparelli
0d2f28c91a
Add test for cli help 2021-05-10 23:02:31 +12:00
Félix Saparelli
eafbc9a77b
Clean up due to removing pubs 2021-05-10 22:44:35 +12:00
Félix Saparelli
324fbe9055
Remove unused cli mod 2021-05-10 22:27:41 +12:00
Félix Saparelli
668d931eac
Remove public interface now that cli is a different crate 2021-05-10 22:26:38 +12:00
Félix Saparelli
be16d2e6a8
Use published lib in cli for cli publish 2021-05-09 03:54:06 +12:00
Félix Saparelli
c517b98782 Split readmes 2021-05-09 03:44:11 +12:00
Félix Saparelli
6a0ac73547 cli: v1.16.0 2021-05-09 02:21:07 +12:00
Félix Saparelli
149b9b9821
Split the versioning of the lib and cli (in theory) 2021-05-01 04:22:33 +12:00