martinklepsch / boot-garden

Boot task to compile Garden stylesheets.
Eclipse Public License 1.0
37 stars 6 forks source link

1.3.2-1 appends styles to output file on update #25

Open euccastro opened 6 years ago

euccastro commented 6 years ago

If you run boot-garden 1.3.2-1 along with watch (as in the README example) and make modifications to the .clj file defining the styles, the new styles will be appended to the output file, rather than replacing it altogether.

This doesn't happen in 1.3.2-0.

euccastro commented 6 years ago

This repo is a simple way to reproduce the issue. Just run boot dev, open target/public/css/garden.css, edit src/clj/repro/styles.clj, and note that the garden.css has changed to get the new styles appended. You may then change the boot-garden version to 1.3.2-0 and follow the same procedure to see the expected behavior (new styles completely overwrite the old ones).