myFavShrimp / turf

Macro based compile-time SCSS transpilation, CSS minification, and class name uniquification toolchain inspired by CSS modules.
MIT License
50 stars 2 forks source link

CSS does not reload with cargo leptos watch #6

Closed beckend closed 7 months ago

beckend commented 1 year ago

Have to restart the command every time making a change in scss files.

myFavShrimp commented 1 year ago

Hey, thank you for reporting this issue. This problem seems to originate from the cargo leptos command. (https://github.com/leptos-rs/cargo-leptos/issues/187)

turf uses the include_bytes! macro to make the build system track SCSS file changes. This seems to be not working when using cargo-leptos.

myFavShrimp commented 7 months ago

I am closing this because there is nothing turf can do to fix this