wasm-pack-plugin
wasm-pack-plugin copied to clipboard
Feature request: watching other directories
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!
This should be covered?
module.exports = {
plugins: [
new WasmPackPlugin({
watchDirectories: [
path.resolve(__dirname, "core/src")
],
}),
],
}
Hey! If you need multi-folder support, please check out another package: rust-wasmpack-loader.