Comments (8)
It looks like your vim has a weird save strategy. It's not supposed to remove files when writing them. Any idea why it does that ? Any special setting ?
from bacon.
I removed my vim config before reporting this. If you can't reproduce this, I can investigate further to see if there's something about my system elsewhere that's driving this, but I doubt it.
from bacon.
If you can't reproduce this
No, I never observed this, and probably not many people did, because it would have been reported otherwise, as it seems to break compilation.
from bacon.
I'm not sure if this is 100% related, but bacon
often does rerun in the middle of editing a line, leading to compilation errors in my editor as well (RustRover). Often it doesn't seem to pick up the finish of the line, so I need to, add a space or similar to force it to rerun.
from bacon.
I'm not sure if this is 100% related, but bacon often does rerun in the middle of editing a line, leading to compilation errors in my editor as well (RustRover)
You mean your editor automatically saves your Rust files when you're in the middle of a line ? You should configure it differently.
from bacon.
Yes the Jetbrains family of editors saves continuously. After some googling and twiddling around, this is not something that can be disabled, even after tweaking all there is to tweak that I can find. My issue isn't necessarily that bacon
runs continuously on each save ( that seems sensible enough, I imagine it can't tell them apart )
However, the problem for me is that bacon gets "stuck" if it compiles something with an error, and the error has been fixed before the compilation is done. E.g. see the following loom to demonstrate the problem (at around 15 seconds in)
I've tried to replicate the same problem with cargo-watch
which seems to handle this case successfully (it also has a debounce
parameter which removes most of the churn from repeated savings. See this loom as an example.
Totally open to the fact that this might be a separate issue than the original one - although I felt like they're reasonably similar in that it seems to be related to bacon
running too early in the process, and not properly rerunning.
from bacon.
not properly rerunning
This looks like a bug and isn't expected
from bacon.
That's fair - I've split it into a different issue
from bacon.
Related Issues (20)
- Can't scroll using mouse in a terminal ? HOT 6
- Offline mode does not see path dependency changes HOT 1
- Default `bacon.toml` overrides `prefs.toml` configured jobs HOT 2
- Using `bacon` with `rust-analyzer` in VS Code HOT 4
- Screen doesn't clear when the file watcher restarts a long-running job HOT 8
- run tests with `-- --nocapture` option HOT 4
- Run multiple jobs after each other HOT 5
- Difference between how cargo clippy and bacon clippy treat tests HOT 2
- Fails to build with nightly 98aa3624b 2024-02-08 in ahash-0.8.2 HOT 4
- Bacon fails to properly rerun on changes that happen while compilation is ongoing HOT 7
- `bacon test` doesn't recognize `--features` HOT 4
- Can't seem to make `bacon test --no-default-features` work HOT 2
- Can't build on M3 MacPro with sold linker HOT 5
- wheel scrolling doesn't work in tmux / linux HOT 1
- Not displaying correctly on Windows Terminal, offset by one line HOT 5
- `on_success` doesnโt trigger when there are warnings and `allow_warnings = true` HOT 1
- [feature request] Expand env vars in job command HOT 3
- Inconsistent stdout flushing when using `bacon run`
- Tests are only run on workspace default package
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 bacon.