-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo watch
Constantly Recompiles
#827
Comments
Yeah the webapp adds some files to static/styles (these are gitignored already though) when run |
Hm, updated cargo-watch to 7.2.1, ran a full git clean and it works for me. I have very different glob patterns, though. Could you please update master and rerun? |
Works flawlessly for me now! |
Works for me too! Not sure what fixed the problem, but I ran |
It works for me too, and I am a new contributor. I think the update has been out long enough that it's no longer an issue. |
Okay, I'm going to close this as solved. |
Technical Bug Report
Your Environment
Is this an issue with Rust, CSS, or HTML (or a combination)?
Issue with
cargo watch
Expected Behavior
cargo watch -x run
ought to recompile only when actual changes are detectedCurrent Behavior
cargo watch -x run
constantly recompiles the project even when no changes have been made. I have tried running the command when no text editors are open, and the problem persists.Step to Reproduce
cargo watch -x run
.Screenshots
I ran
cargo watch --debug -x run
and screenshotted the output on the first recompile:Suggetions
This seems to indicate that the
static/styles
folder is changing upon compilation, and that is triggeringcargo watch
to recompile again.I believe
cargo watch
checks your.gitignore
for files to NOT watch. Is there some ignore pattern we could add that would solve this problem?Trace
Here's a file with the trace: CargoWatchProblemTrace.txt
The text was updated successfully, but these errors were encountered: