stylesheet
stylesheet copied to clipboard
Meson: rebuild without requiring ninja clean
What Happened?
The stylesheet doesn't get properly rebuilt if you build with just ninja and not ninja clean.
Steps to Reproduce
- Build with
ninja - Make changes and build again with
ninja - Test and see that changes weren't built
Expected Behavior
The build system should be set up such that it produces new builds reflecting the latest source code changes when building with ninja and not requiring ninja clean
OS Version
7.x (Early Access)
Software Version
Compiled from git
Log Output
No response
Hardware Info
No response
Meson only knows about the primary input file, which just loads other files. In order to do proper incremental updates, you will need depfile support (the same minimal, Make-compatible output: input1 input2 input3 format emitted by GCC's -MD flag); it seems sassc is in deep maintenance mode so it's not clear that such support will ever land upstream.
(No, dart-sass doesn't support this either.)
Hmm, turns out there is indeed a PR sort of like this (my original google-fu didn't find it due to it not having the right keywords).
https://github.com/sass/sassc/pull/228
When I build the theme in a VM the changes do take effect
Mabe eOS could add Compiling support to the code app