leptos-rs / cargo-leptos

Build tool for Leptos (Rust)
MIT License
315 stars 88 forks source link

Dependencies not caching #223

Closed tsalkenov closed 5 months ago

tsalkenov commented 5 months ago

When project is rebuilt by cargo-leptos it rebuilds large part of wasm-bindgen dependencies each time, no matter which part of the code was changed. When project is built manually dependencies caching works fine. I tried using cargo leptos watch on the workspace example but it still rebuilds a lot of packages for wasm build

benwis commented 5 months ago

Let's start with the basics, what version of cargo-leptos are you running, and what OS are you using?

tsalkenov commented 5 months ago

After some attempts to make it work it seems that my target directory was corrupted in some way. I haven't really figured out the exact reason for this but it works. Thanks