Skip to content

Conversation

@tekacs
Copy link
Contributor

@tekacs tekacs commented Dec 1, 2025

Hullo hullo – as described. In using build.rs with Dioxus, I found that there wasn't a way (any more) to get the watcher to rebuild on custom input paths.

I'm using rerun-if-changed – I first tried using watch_path, but it looks like that got un-wired in #3797. I also wired up support for directories in rerun-if-changed as well.

- The watch_path config field was added but never consumed after the CLI rewrite in PR DioxusLabs#3797
- Now watches additional paths specified in Dioxus.toml [web.watcher].watch_path
- When cargo:rerun-if-changed=dir is used, the depinfo contains the directory path
- Now checks if changed files are under any depinfo directory, not just exact matches
@tekacs tekacs requested a review from a team as a code owner December 1, 2025 01:57
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.

1 participant