Comments (8)
Does this still happen with 4.0.3? I fixed something related.
from cargo-watch.
Yes, just tested, it does.
from cargo-watch.
Can you run with RUST_LOG=cargo_watch=debug
and give the log for a run that exhibits the behaviour? When you have time :)
from cargo-watch.
I also get this
error: Could not compile `harvest-thing`.
To learn more, run the command again with --verbose.
[Finished running]
DEBUG:cargo_watch::schedule: path changed: C:\Users\DavidHewson\Documents\Repositories\TeamRocket\harvest-thing\app\src\main\harvest-thing\target\debug\build\backtrace-3d4946c28f21721b\build-script-build.exe
INFO:cargo_watch::filter: Filtering: "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\backtrace-3d4946c28f21721b\\build-script-build.exe"
DEBUG:cargo_watch::filter: Match data for file "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\backtrace-3d4946c28f21721b\\build-script-build.exe": None
DEBUG:cargo_watch::schedule: Found a duct handle, checking if it's still running
INFO:cargo_watch::schedule: Starting job: Expression(Then(Expression(Io(Unchecked, Expression(Then(Expression(Sh("echo [Running \'cargo check\']")), Expression(Sh("cargo check")))))), Expression(Sh("echo [Finished running]"))))
DEBUG:cargo_watch::schedule: path changed: C:\Users\DavidHewson\Documents\Repositories\TeamRocket\harvest-thing\app\src\main\harvest-thing\target\debug\build\backtrace-3d4946c28f21721b
INFO:cargo_watch::filter: Filtering: "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\backtrace-3d4946c28f21721b"
DEBUG:cargo_watch::filter: Decided that "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\backtrace-3d4946c28f21721b" was a folder
DEBUG:cargo_watch::filter: Match data for file "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\backtrace-3d4946c28f21721b": None
DEBUG:cargo_watch::schedule: Found a duct handle, checking if it's still running
[Killing running command]
INFO:cargo_watch::schedule: Waiting on the kill
INFO:cargo_watch::schedule: Starting job: Expression(Then(Expression(Io(Unchecked, Expression(Then(Expression(Sh("echo [Running \'cargo check\']")), Expression(Sh("cargo check")))))), Expression(Sh("echo [Finished running]"))))
DEBUG:cargo_watch::schedule: path changed: C:\Users\DavidHewson\Documents\Repositories\TeamRocket\harvest-thing\app\src\main\harvest-thing\target\debug\build\hyper-7d9785407b686b5a\build-script-build.exe
INFO:cargo_watch::filter: Filtering: "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\hyper-7d9785407b686b5a\\build-script-build.exe"
DEBUG:cargo_watch::filter: Match data for file "C:\\Users\\DavidHewson\\Documents\\Repositories\\TeamRocket\\harvest-thing\\app\\src\\main\\harvest-thing\\target\\debug\\build\\hyper-7d9785407b686b5a\\build-script-build.exe": None
DEBUG:cargo_watch::schedule: Found a duct handle, checking if it's still running
[Killing running command]
[Running 'cargo check']
INFO:cargo_watch::schedule: Waiting on the kill
here's what it says between each rebuild.
edit: actually i think mine is just similar
edit2: cargo watch --ignore target
works fine
from cargo-watch.
@dten Yours is probably the same cause, i.e. the default ignore patterns don't match properly on Windows.
from cargo-watch.
This will be fixed in the next release.
from cargo-watch.
Done in 5.0.0.
from cargo-watch.
Thanks
from cargo-watch.
Related Issues (20)
- Feature request: test results as a notification HOT 1
- `cargo watch -x run` after some saves turns the terminal into a mess. HOT 8
- Recompiling takes too long inside docker container HOT 2
- reloaded after waiting running job is done. HOT 1
- Is there an option to re-run ONLY if a file content is changed? HOT 1
- How can cargo-watch monitor the html file even after I have modified it? Which parameter should I use to run it? HOT 1
- SIGKILL isn't killing the child? HOT 3
- Slow startup in monorepo HOT 4
- `rustc-ice-*.txt` files are watched, causing infinite loop of recompiling HOT 1
- Is this project still maintained? HOT 1
- cargo-watch dependency quarantined HOT 1
- Argument grouping bug HOT 1
- Feature Request: Run shell commands on cargo command failures HOT 1
- cargo watch in release mode? HOT 2
- os error 5 HOT 1
- 8.5.1 regression: `cargo watch -- cargo clippy` HOT 3
- [8.5.0+] `-s` parameter is not recognized when `-x` is elided HOT 2
- Random compilation failures HOT 2
- cargo-watch seems to search the debug executable in the wrong folder when trying to execute a test source code HOT 3
- If I ignore `.env` with `.gitignore` is there a way to watch it? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-watch.