Commit Graph

254 Commits

Author SHA1 Message Date
Félix Saparelli
f32943bfd2
Document --watch-when-idle much more thoroughly 2021-04-11 03:31:44 +12:00
Félix Saparelli
1b5bdee08e
Make terminology more consistent and avoid some "kill child" usages 2021-04-11 03:21:38 +12:00
Félix Saparelli
12d130c3f1
Refactor run on_update to make the behaviour clearer 2021-04-11 03:15:17 +12:00
Félix Saparelli
e5cdd51633
Remove/deprecate Config.no_shell 2021-04-11 02:36:38 +12:00
Félix Saparelli
4c29c7a09d
Add --shell option 2021-04-11 02:36:10 +12:00
Félix Saparelli
92060e5655
Expose shell via builder 2021-04-11 02:28:29 +12:00
Félix Saparelli
1280a15ca2
Support powershell and custom shells in the backend 2021-04-11 02:08:39 +12:00
Félix Saparelli
2a382a9486
Rename spawn args positively 2021-04-11 01:44:44 +12:00
Félix Saparelli
7965ccb605
Discard code from attempt at wrapping quotes 2021-04-11 01:40:30 +12:00
Félix Saparelli
bbaaff8a1e
Split args from cli in preparation to remove it from lib entirely 2021-04-11 01:33:40 +12:00
Félix Saparelli
cd3b8c6cba
Move Args and builder to Config, and deprecate old names 2021-04-11 01:23:24 +12:00
Félix Saparelli
31fd818247
Emit log level separately from Args 2021-04-11 01:09:28 +12:00
Félix Saparelli
757de0d92e
Use ArgsBuilder ourselves 2021-04-11 01:09:06 +12:00
Félix Saparelli
988acaed65
Hide --kill option 2021-04-11 01:04:47 +12:00
Félix Saparelli
9c1b65e712
Deprecate get_args and get_args_from 2021-04-11 01:04:25 +12:00
Félix Saparelli
7d523dfcf0
Document clear_screen functions 2021-04-11 01:02:44 +12:00
Félix Saparelli
c42fe66985
Remove new Args.changes field 2021-04-11 01:02:13 +12:00
Félix Saparelli
426b6a8318
Deprecate Args.debug harder 2021-04-11 01:01:20 +12:00
Félix Saparelli
9968a66042
Hide Args.once harder 2021-04-11 00:58:24 +12:00
Félix Saparelli
268c0cee38
Harmonise defaults between cli and builder 2021-04-11 00:57:46 +12:00
Félix Saparelli
0b79e93c84
Mark cli::Args non-exhaustive so ArgsBuilder usage is mandatory 2021-04-11 00:56:47 +12:00
Félix Saparelli
fca038b23c
Reduce lints in favour of stability rather than strictness 2021-04-11 00:55:50 +12:00
Shane Fry
949fbcf7ae Add --changes-only option to only print path change information. 2021-04-08 12:52:44 -05:00
Félix Saparelli
838103fcf2 Embed long paths manifest on windows (#163) 2020-09-30 17:06:41 +13:00
Félix Saparelli
166f0b8fc2
Drop default debounce to 300ms (cf #168) 2020-09-30 16:48:24 +13:00
Félix Saparelli
f2da804d3b
Correct --watch help text as per #165 2020-09-15 13:21:02 +12:00
Félix Saparelli
570ed3afdf
Add windows manifest to enable long path support (#163)
- `requestedPrivileges`: explicitly set privilege level to be the same as parent
- `longPathAware`: opt into transparent long path support on Win10 and above
2020-07-19 16:14:23 +12:00
Félix Saparelli
fdb0cfb759 Add soft deprecation on Args.debug 2020-07-04 17:42:13 +12:00
Félix Saparelli
0b5120430c Revise clippy lints to avoid breakage 2020-07-04 00:38:50 +12:00
Félix Saparelli
f38e7ab969 Cargo fmt 2020-07-04 00:20:02 +12:00
Félix Saparelli
0b13c39056
Merge pull request #160 from PhilipDaniels/main 2020-07-03 23:32:49 +12:00
Philip Daniels
03142f5ec1 Call init_logger after parsing the args. 2020-06-25 11:16:22 +01:00
Philip Daniels
ebd5ec084f Do not call init_logger from inside watch.
And move init_logger to main.rs for future use.
2020-06-24 15:17:59 +01:00
Quint Guvernator
2615a1de7c wrap ioerror when it represents oserror E2BIG 2020-06-24 13:40:11 +02:00
Quint Guvernator
cca7b19283 fix some clippy lints 2020-06-24 10:58:15 +02:00
Quint Guvernator
7770de8f7c test: add new arguments to spawn(...) 2020-06-23 15:02:10 +02:00
Quint Guvernator
d246114678 add --no-meta switch to avoid some redundant events for #78 2020-06-23 14:41:53 +02:00
Quint Guvernator
524812028d add --no-environment switch to fix #78 2020-06-23 13:43:55 +02:00
Thomas Etter
c50abc324c add Kate (KDE default editor) swap file to default ignores
.filename.kate-swp format https://unix.stackexchange.com/a/112400
2020-06-14 18:17:13 +02:00
Félix Saparelli
92029f7365 Fix faulty .git lookup code 2020-06-06 15:16:02 +12:00
Félix Saparelli
be6c29c821
Merge pull request #147 from Chris-Nicholls/gitignore 2020-06-04 19:29:53 +12:00
Martin Sehnoutka
f8f6c0ac5a Mention time units explicitly in CLI interface
The force-poll flag does not mention time units as opposed to the
debounce flag and to make it even more confusing, the comment in the
code says something else than the output:
*** Polling for changes every 2000 ms

This patch makes it clear what units are used.
2020-04-18 17:15:46 +12:00
Chris Nicholls
2d29a7d7c4 Look for .ignore files in subfolders of watched paths 2020-03-09 10:59:02 +00:00
Chris Nicholls
0175e071e1 Include .gitignores in subdirectories 2020-03-06 10:28:29 +00:00
Félix Saparelli
5843deb573
Allow clippy::too_many_lines 2019-11-19 19:42:20 +13:00
daubaris
50fa771c41 Adding missed details 2019-11-19 01:15:07 +13:00
daubaris
9a204241f7 Satisfying requested changes 2019-11-19 01:15:07 +13:00
daubaris
7ad8e78a34 Rename the command from 'watch-idle' to 'watch-when-idle' 2019-11-19 01:15:07 +13:00
daubaris
de5ed1c2bd #123 --watch-idle flag implementation 2019-11-19 01:15:07 +13:00
Félix Saparelli
90b9a85c0c
Swap out deprecated mem::uninitialized() 2019-11-19 00:38:58 +13:00