Skip to content
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

Add --watch arg for auto re-compiling on shader changes #42

Merged

Conversation

tombh
Copy link
Contributor

@tombh tombh commented Jan 27, 2025

I know we'd mentioned this before, and decided it wasn't high priority. Because https://github.com/Canop/bacon exists. But I just thought I'd make a PR so we can see how simple the code change is.

I think there's advantages to having native watching. Like not having to download and learn another tool.

@schell
Copy link
Collaborator

schell commented Feb 5, 2025

I'm still using cargo watch, but don't really use it for shader compilation, since I run that by hand.

But this looks fine!

@schell schell merged commit a1b0aca into Rust-GPU:main Feb 5, 2025
4 checks passed
@tombh tombh deleted the add-watch-arg-for-shader-auto-recompile branch February 5, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants