Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option to force a compile every time the task is called #22

Open
thedavidmeister opened this issue Oct 23, 2016 · 1 comment
Open

option to force a compile every time the task is called #22

thedavidmeister opened this issue Oct 23, 2016 · 1 comment

Comments

@thedavidmeister
Copy link

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.

@martinklepsch
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants