cargo-watch package in Zed's source code #10826
Closed
faniabdo99
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I was playing around with Zed's codebase and figured out something quite nice, when I built Zed on my Macbook Pro I noticed something might be annoying in the development process, there is no hot reload!
So I found a package called
cargo-watch
and installed it, worked like a charm.I did create a branch and wanted to open a PR but I don't have the right permissions and I am not really sure how useful this is to the development team, so I am just gonna leave the code right here for anyone who can use it
With the above, every time you save a file it will rebuild the application and open it, this behavior can be adjusted by configuring
cargo-watch
the way you need, here arecargo-watch
docs:https://github.com/watchexec/cargo-watch
Thank you Zed team! you are doing awesome work out there!
Beta Was this translation helpful? Give feedback.
All reactions