noprompt / lein-garden

Leiningen plugin for compiling Garden stylesheets.
The Unlicense
84 stars 17 forks source link

lein auto only compiles the first build #10

Closed deadghost closed 10 years ago

deadghost commented 10 years ago

[lein-garden "0.1.6"]

Using $ lein garden auto, when I modify handler.clj only the first listed build gets compiled.

  :garden {:builds [{:id "main"
                     :stylesheet judo-notes.handler/main-css
                     :compiler {:output-to "resources/public/css/main.css"
                                :pretty-print? false}}
                    {:id "reset"
                     :stylesheet judo-notes.handler/reset-css
                     :compiler {:output-to "resources/public/css/reset.css"
                                :pretty-print? false}}
                    {:id "solarized"
                     :stylesheet judo-notes.handler/solarized-css
                     :compiler {:output-to "resources/public/css/solarized.css"
                                :pretty-print? false}}]}

They're all taking different defstyles from the same file, though it doesn't seem to help having them in different files.

$ lein garden once compiles all files as expected.

noprompt commented 10 years ago

@deadghost Should be fixed in the newest version. Thanks!