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

Feature request: watching other directories #127

Open
rbalicki2 opened this issue Feb 21, 2022 · 2 comments
Open

Feature request: watching other directories #127

rbalicki2 opened this issue Feb 21, 2022 · 2 comments

Comments

@rbalicki2
Copy link

When developing locally, I have two sibling folders, core/ and website/. Website's cargo.toml references core/ via core = {path="../core"}. I'd love to have the website auto-refresh when I make changes to the core/ folder.

Is this possible? If not, I think it'd be super dandy to be able to automatically watch crates that are referenced using "path=", or to specify other folders to watch.

Thank you!

@jcaesar
Copy link

jcaesar commented Jun 7, 2022

This should be covered?

module.exports = {
    plugins: [
        new WasmPackPlugin({
            watchDirectories: [
                path.resolve(__dirname, "core/src")
            ],
        }),
    ],
}

@yeskiy

This comment was marked as spam.

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

3 participants