-
Notifications
You must be signed in to change notification settings - Fork 81
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
Automatically add --manifest-path when -x and -C are combined #219
Comments
The current implementation of Also off topic but I wouldn't recommend using both Finally running cargo watch as PID 1 is not great at the moment, they might want to wrap a lightweight supervisor around it if they run into any issues! ...though I think |
It's a shame, since it seems like one of the very few possible workarounds for running
Hah, good to know, I might pass it to OP in that Reddit thread. |
I'll add some advice from this issue in the readme, that may help a bit. |
To preface: I'm not a
cargo-watch
user, but I've been in a discussion with one, helping them work around some issues where the sanest workaround is an out-of-tree build (TLDR: bind mounts in Docker on anything but Linux have longstanding performance issues, OP in the Reddit discussion cut their build time by something close to 20x).What I proposed, as a solution to their issue, is a Dockerfile that looks like this:
It seems reasonable to add that
--manifest-path
argument automatically if-C
is present. Perhaps do not change the behavior of existing-x
, but rather add a new flag,-X
.The text was updated successfully, but these errors were encountered: