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

ditto make -w should watch symlinked packages #159

Open
jmackie opened this issue Jan 6, 2023 · 0 comments
Open

ditto make -w should watch symlinked packages #159

jmackie opened this issue Jan 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jmackie
Copy link
Member

jmackie commented Jan 6, 2023

Should be fairly easy to do, logic is here:

// watch `./src` (should really be present)
watcher
.watch(&config.src_dir, notify::RecursiveMode::Recursive)
.into_diagnostic()?;
// watch `./tests` (if it's present)
if config.test_dir.exists() {
watcher
.watch(&config.test_dir, notify::RecursiveMode::Recursive)
.into_diagnostic()?;
}
// TODO: allow watching more files via config or a flag?

@jmackie jmackie added the enhancement New feature or request label Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant