Crates.io | cargo-watch-plus |
lib.rs | cargo-watch-plus |
version | 0.2.0 |
source | src |
created_at | 2023-02-20 22:50:18.576414 |
updated_at | 2023-02-22 07:11:39.112153 |
description | Cross-platform file watching library. |
homepage | https://github.com/enso-org/cargo-watch-plus |
repository | https://github.com/enso-org/cargo-watch-plus |
max_upload_size | |
id | 790232 |
size | 21,944 |
This library was developed in response to difficulties encountered while using cargo-watch for development of Enso. Addressing these issues proved to be challenging, while creation of this library required only a single evening of effort, leveraging well-established and production-ready JavaScript libraries outlined in this document. Functioning in a manner akin to cargo-watch, this library operates more effectively across multiple systems, mitigating multiple important concerns, including:
.gitignore
syntax, including negative patterns..gitignore file
, leading to the erroneous monitoring of files that should be exempt.This library is a concise wrapper, comprising less than 300 lines of code, over the following libraries:
To install this library, run cargo install cargo-watch-plus
. Then, use cargo watch-plus --help
to see what you can do. By default, when you run cargo watch-plus
in your project, it runs cargo check
if any file has been changed.
This library was designed as in-place replacement for cargo-watch
and implements the same options. If you notice any differences, please let us know and we'll fix them.
The only disadvantage of this library is that it is not implemented in pure Rust. On the other hand, it bases on high-quality production-tested libraries, so it should provide you with consistent, good results across different operating systems.