Commit Graph

476 Commits

Author SHA1 Message Date
Félix Saparelli
6a3af92d25 Update deps 2020-06-04 19:38:49 +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
Félix Saparelli
97232cfd09
1.12.0 2019-11-19 19:06:43 +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
Thomas Etter
6e64a2c152 update the test to make sure that files matching part of the ignore are not excluded 2019-11-12 23:36:49 +13:00
Thomas Etter
1c6f5fab89 fix the ignore path handling to match the README by ignoring everything
below a directory
2019-11-12 23:36:49 +13:00
Félix Saparelli
798fd3c0bd
Fix verb tense on help message for --force-poll 2019-11-11 09:51:06 +13:00
Félix Saparelli
211bb681f5
1.11.1 2019-10-28 22:32:55 +13:00
Félix Saparelli
e33fd8f5b5
Remove borrowing that was introduced in previous release 2019-10-28 22:32:08 +13:00
Félix Saparelli
05c0d4aaea
Allow clippy failures 2019-10-28 20:00:47 +13:00
Félix Saparelli
a0053ccda4
1.11.0 2019-10-28 19:20:10 +13:00
Félix Saparelli
97fd7c6a17
Update nix, glob, env_logger 2019-10-28 19:02:57 +13:00
Félix Saparelli
bb02d84661
Re-export useful things 2019-10-28 18:56:06 +13:00
Félix Saparelli
6c653e8e52
Return owned Args from Handler instead of borrowed 2019-10-28 18:55:39 +13:00
Wayne Warren
720ff44b71 #133: leave Handler initialization to watch caller 2019-10-28 18:17:25 +13:00
Félix Saparelli
31b5cb0ab6
Add chocolatey package 2019-10-28 14:51:04 +13:00
Félix Saparelli
a1fbad0180
Fix last clippy lints 2019-10-28 13:48:57 +13:00
Félix Saparelli
7ef9d13b51
Fix travis clippy check 2019-10-28 13:19:12 +13:00
Félix Saparelli
2d4e74ef33
Fix travis msrv windows check 2019-10-28 13:18:09 +13:00
Félix Saparelli
544d133520
Adjust badges 2019-10-28 13:17:15 +13:00
Félix Saparelli
e0a67e3e7e
Lint travis config 2019-10-28 13:13:09 +13:00
Félix Saparelli
e54b7f2427
Remove appveyor 2019-10-28 13:11:33 +13:00
Félix Saparelli
24204e7b71
Add windows travis builds 2019-10-28 13:01:55 +13:00
Félix Saparelli
f7e1639ed1
Upgrade to winapi 0.3 2019-10-28 12:17:00 +13:00
Félix Saparelli
e563ae8fc1
Enable anti-unwrap lints 2019-10-28 01:12:10 +13:00
Félix Saparelli
5f7123ecbe
Lint tests too 2019-10-28 00:37:24 +13:00
Félix Saparelli
a3c5bd7201
Run formatter 2019-10-28 00:31:52 +13:00
Félix Saparelli
10fac30c7b
Add editorconfig 2019-10-28 00:31:41 +13:00
Félix Saparelli
d47419e385
Forbid a whole lot more clippy stuff 2019-10-28 00:31:26 +13:00
Félix Saparelli
b842c149b6
Use Rust 2018 2019-10-27 23:58:00 +13:00
Félix Saparelli
0eb83a6387
Bump msrv to 1.38 2019-10-27 23:49:52 +13:00
Félix Saparelli
f56e838fb9
Lints and clippys 2019-10-27 23:47:35 +13:00
Félix Saparelli
6b028cb649
Add builder for Args 2019-10-27 23:29:58 +13:00
Félix Saparelli
8e84eb6b04
Add semver policy statement 2019-10-27 22:54:44 +13:00
Sven-Hendrik Haase
3766114f40 Add zsh completions to release files 2019-10-23 17:29:44 +13:00
Sven-Hendrik Haase
63c7895407 Add --no-ignore to zsh completion 2019-10-23 17:29:44 +13:00
Sven-Hendrik Haase
43aa0947dc Add zsh completions for #118 (credit @Mange) 2019-10-23 17:29:44 +13:00
Sven-Hendrik Haase
7eafb48aa8 Prefer using --locked
This is to ensure that binaries built in this way are built reproducibly.
2019-10-23 17:28:54 +13:00
Josh Soref
0d4a2270ec spelling: supporting 2019-10-14 11:09:51 +13:00
Ryan James Spencer
e90bbcb9bd Support a dedicated ignore file
ref. https://github.com/passcod/cargo-watch/issues/127

This adds support for a dedicated ignore file by the name of `.ignore` a
la `fd`, `ripgrep`, et. al.

This purely just mimics what `Gitignore` is doing except it doesn't
ignore `.git` directories. There might be more I need to tweak and the
interface might be too obtuse, but this is a first pass.

I've also added a `--no-ignore` flag which ignores both `.gitignore` and
the dedicated `.ignore`. It might make sense to add a specific flag that
ignores `.ignore` but respects `.gitignore` to support the old
behaviour, but I wasn't sure what to name it.
2019-10-12 14:13:57 +13:00
Jon Grythe Stødle
c4ac0c0cbb Fix typo in -e description 2019-10-11 11:41:11 +13:00
Félix Saparelli
1738f26161 1.10.3 2019-07-30 11:47:37 +12:00