Commit graph

1316 commits

Author SHA1 Message Date
Félix Saparelli
c7f7e18e3b Update man page with WATCHEXEC_*_PATH modifications from #90 2018-08-19 21:14:42 +12:00
Félix Saparelli
f61b7507af Update dependencies 2018-08-19 20:58:47 +12:00
Félix Saparelli
83a3e3b085
Merge pull request #90 from Calinou/update-env-variable-documentation
Update the environment variable documentation in README
2018-08-19 20:45:11 +12:00
Félix Saparelli
750dcb197d
Merge pull request #91 from rasa/patch-1
Add scoop installation instructions to readme
2018-08-19 20:32:47 +12:00
Félix Saparelli
31fdca564a
Merge pull request #93 from tailhook/max_user_watches
Add a warning and fallback on polling mode if limit exceeded
2018-08-19 20:29:44 +12:00
Félix Saparelli
93bd1d9881
Merge pull request #77 from bruceg/master
Fix some default ignore pattern issues
2018-08-19 20:23:49 +12:00
Félix Saparelli
5d58a657ee
Merge pull request #92 from bugabinga/master
Bumps __nix__ to __0.11.0__ in order to support OpenBSD 6.3+.
2018-08-19 20:22:50 +12:00
Paul Colomiets
a2d0a251da Add a warning and fallback on polling mode if limit exceeded
Works only on linux (not sure how error is named on other systems):
```
*** System notification limit is too small, falling back to polling
mode.
*** For better performance increase system limit:
   sysctl fs.inotify.max_user_watches=524288
*** Polling for changes every 1000 ms
```

Fixes #62
2018-08-02 19:36:50 +03:00
Oliver Jan Krylow
8de93a8fd2
Bumps __nix__ to __0.11.0__ in order to support OpenBSD 6.3+. 2018-07-30 21:20:12 +02:00
Ross Smith II
b59eda30dd
Add scoop installation instructions to readme 2018-07-23 21:15:16 -07:00
Hugo Locurcio
a9de2cde44
Update the environment variable documentation in README
This makes the documentation reflect changes from commit 8bd9bb3.
2018-07-23 15:33:47 +02:00
Bruce Guenter
1d8d6595e0 Add .pyo to the Python temporary file ignore
Python, when invoked with the -O option, writes compiled code to .pyo
files instead of .pyc. Add this to the default ignores list.
2018-02-08 14:53:12 -06:00
Bruce Guenter
422546b175 Add Emacs temporary files to the default ignored list
Emacs generates temporary backup files while editing named "#FILENAME#"
and ".#FILENAME". Ignore these by default.
2018-02-08 14:53:11 -06:00
Bruce Guenter
c98bea3118 Fix default ignore for vim temporary files
.swp files are created by vim to store editing state while a file is
open. However, it may also create .swo, .swn, etc files if .swp already
exists. Also, the temporary files are always hidden (start with ".").
Finally, vim temporarily creates .swpx files as well which are caught by
inotify.

This change fixes the *.swp pattern to only match hidden files and to
match the other vim temporary files.
2018-02-08 14:53:08 -06:00
James Kominick
31b5e56959 don't panic on missing folder
issue #71
- Add some basic error handling
- Convert missing folder panic to error
2017-12-13 23:10:12 -05:00
Matt Green
b9822266db
Merge pull request #73 from mcgoo/master
fix screen clearing on windows
2017-12-06 15:38:25 -05:00
Jim McGrath
9b4e74ed30 fix screen clearing on windows 2017-12-06 11:40:04 -06:00
Matt Green
1456fa2ee9
Merge pull request #72 from jmgao/master
Use `tput reset` to clear screen.
2017-11-30 12:39:33 -05:00
Josh Gao
76d959b27b Use tput reset to clear screen.
Use `tput reset` instead of `clear` so that scrollback is cleared in
addition to the currently visible portion of the terminal.
2017-11-21 00:55:58 -05:00
Matt Green
9f82872943 1.8.6 2017-10-09 08:56:55 -04:00
Matt Green
3de894e07c Merge pull request #70 from mattgathu/fix_clippy_warnings_run
fix (src/run.rs): fixed cargo clippy warnings
2017-10-09 08:54:41 -04:00
Matt Green
b035cbf44a Merge pull request #69 from mattgathu/fix_clippy_warnings_process
fix (src/process.rs): fix cargo clippy linter warnings
2017-10-09 08:53:55 -04:00
Matt Green
8770ae3967 Handle relative ignores better? 2017-10-07 15:50:47 -04:00
Matt Gathu
8509cbfd77
fix (src/run.rs): fixed cargo clippy warnings
This addresses warnings reported by cargo clippy on `src/run.rs`:

* warning: this expression borrows a reference that is immediately dereferenced by the compiler

reference:
- https://rust-lang-nursery.github.io/rust-clippy/v0.0.165/index.html#needless_borrow
- https://github.com/rust-lang-nursery/rust-clippy
2017-10-06 14:31:36 +03:00
Matt Gathu
775eb47dde
fix (src/process.rs): fix cargo clippy linter warnings
This PR fixes lint warnings generated by cargo-clippy:

- **warning**: you should put `notify::ops::RENAME` between ticks in the documentation
- **warning**: use of `or_insert` followed by a function call

I have run `cargo test` and these changes do not break any of the tests :-)

reference:
--

* https://rust-lang-nursery.github.io/rust-clippy/v0.0.165/index.html#doc_markdown
* https://rust-lang-nursery.github.io/rust-clippy/v0.0.165/index.html#or_fun_call
* https://github.com/rust-lang-nursery/rust-clippy
2017-10-06 13:55:21 +03:00
Matt Green
93b7b0343f Pin clap dep, closes #61 2017-09-14 19:25:55 -04:00
Matt Green
589cd224b4 Merge pull request #65 from jaemk/update_details
update details
2017-09-14 19:24:45 -04:00
James Kominick
8bd9bb3c25 detailed update information
issue #59
- Keep track of `notify::op::Op`s associated with each updated path
- Collect paths into `notify::op::Op` categories and pass them on as
  environment vars
- Set a COMMON_PATH and use relative paths if more than one unique
  path was touched
2017-09-09 13:55:44 -04:00
Matt Green
d6ea55cbd4 1.8.5 2017-09-08 16:17:52 -04:00
Matt Green
06fd2954dd Merge pull request #64 from jaemk/configurable_debounce
Add `-d, --debounce` option
2017-09-08 16:16:19 -04:00
James Kominick
0e34123023 Add -d, --debounce option
- Add configurable debounce timeout option behind `-d, --debounce`
- Move `-d, --debug` flags to `-v, --verbose`
2017-09-07 19:44:57 -04:00
Matt Green
a7860116f7 Merge pull request #63 from lilianmoraru/master
Update dependencies and other small improvements
2017-09-06 09:46:14 -04:00
Lilian A. Moraru
e39256cfb2 Update dependencies and other small improvements 2017-08-26 22:07:06 +03:00
Matt Green
7b76d3d268 Merge pull request #60 from octaltree/fix-conflicted-doc
Resolving conflicted cargo documents
2017-06-03 09:55:38 -04:00
octaltree
8b66298bae add [[bin]] doc = false 2017-06-03 12:16:45 +09:00
Matt Green
e3105c0abb Bump to 1.8.4 2017-05-18 13:23:24 -04:00
Matt Green
3fc501c4f0 Windows: fix waiting for job to finish; closes #55 2017-05-18 13:22:46 -04:00
Matt Green
db39d75f51 Fix build requirements in README, closes #57 2017-05-15 17:10:59 -04:00
Matt Green
6ebb7bc7b3 Also ignore changes to ignored dirs themselves 2017-05-10 12:02:49 -04:00
Matt Green
f4774d6f8c 1.8.3 2017-04-27 15:40:00 -04:00
Matt Green
e6de016cb9 Ensure correct path separators are used for VCS ignore dirs 2017-04-27 15:39:12 -04:00
Matt Green
f9a3cade26 Add common VCS dirs to default ignore list (fixes #54) 2017-04-27 15:20:44 -04:00
Matt Green
0696b5266b 1.8.1 2017-04-26 10:13:02 -04:00
Matt Green
a63006bc44 Merge pull request #53 from akerl/feature/no-default-ignore
Add no-default-ignore option, fixes #45
2017-04-26 09:20:33 -04:00
Les Aker
58ff772d62 add docs for no-default-ignore 2017-04-25 21:17:46 -04:00
Les Aker
356dac189d add no-default-ignore option, fixes #45 2017-04-25 21:17:45 -04:00
Matt Green
fe0d5243bd Remove /.* ignore pattern (see #45) 2017-04-25 16:48:44 -04:00
Matt Green
d64ced0250 Merge pull request #52 from passcod/library-interface
Add a library interface
2017-04-25 15:53:05 -04:00
Félix Saparelli
158d0dc9c4
Update to clap 2.22 2017-04-25 11:42:47 +12:00
Félix Saparelli
f5bf4ef98b
Add library interface 2017-04-25 11:31:50 +12:00