You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time a change is detected, a new compilation is started even if one is already running.
I'm using rust-analyzer in VS Code, so turning off aggressive auto-save also turns off error checking and linting. But with auto-save on, webpack also wants to rebuild the WASM every few keystrokes. I'm using pure Rust (with yew), so there's no funny business with JS framework interactions (a la NextJS SSR).
I tried using watchOptions.aggregateTimeout to debounce the watcher, but that only seems to apply to non-Rust files.
It would be awesome if the Rust compilation could be debounced, or at least if in-flight compilations could be cancelled so they're not competing for resources when I stop typing and there's like 5 of them. 😄 It's entirely possible that I'm just missing something and have misconfigured.
Every time a change is detected, a new compilation is started even if one is already running.
I'm using
rust-analyzer
in VS Code, so turning off aggressive auto-save also turns off error checking and linting. But with auto-save on, webpack also wants to rebuild the WASM every few keystrokes. I'm using pure Rust (withyew
), so there's no funny business with JS framework interactions (a la NextJS SSR).I tried using
watchOptions.aggregateTimeout
to debounce the watcher, but that only seems to apply to non-Rust files.It would be awesome if the Rust compilation could be debounced, or at least if in-flight compilations could be cancelled so they're not competing for resources when I stop typing and there's like 5 of them. 😄 It's entirely possible that I'm just missing something and have misconfigured.
I'm using the latest [email protected] and the latest webpack 4
The text was updated successfully, but these errors were encountered: