boot-garden
boot-garden copied to clipboard
option to force a compile every time the task is called
This is tripping me up:
(when (or initial (some #{ns-sym} (pod/with-eval-in ns-pod (cns))))
My problem is that my :styles-var is setup so that it aggregates styles from many different namespaces, sort of like SASS globbing.
If I save one of the aggregated files boot-garden will not recompile the CSS. The CSS only recompiles when I save the file that the :styles-var is in.
My workaround is this:
(with-pass-thru [_] (reset! org.martinklepsch.boot-garden/processed #{}))
(garden :styles-var 'my-ns/my-var)
But it would be nice if I could send a :force flag to the garden task.
@thedavidmeister definitely happy to merge a PR for that. Ideally such PR would then also not create the ns-tracker pod and other things related to tracking var changes.