Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant