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

How to Watch Only Specified Directories? #368

Open
R2rho opened this issue Sep 27, 2024 · 0 comments
Open

How to Watch Only Specified Directories? #368

R2rho opened this issue Sep 27, 2024 · 0 comments

Comments

@R2rho
Copy link

R2rho commented Sep 27, 2024

I'm using SSR and am trying to see if I can configure cargo leptos watch to only reload when the app and server folders in a workspace changes, but not when any other folders in the workspace change? I have another shared crate that I depend on in app that stores type definitions but only use minimally in app based on a feature flag, so I don't need cargo leptos to reload when that crate changes. I can manually reload if/when I change that folder, but 90% of the time the changes that are happening in that folder don't impact app.

I can't seem to find any documentation to exclude or explicitly include the paths in proj.lib.src_path that is used by cargo leptos watch. Is there a way to do this?

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

No branches or pull requests

1 participant