reagent-project / reagent-template

A Leiningen template for projects using Reagent.
MIT License
394 stars 55 forks source link

clean-up source map definition for dev mode #22

Closed lhahne closed 9 years ago

lhahne commented 9 years ago

The source map filename does not seem to cause anything in dev mode as all the source maps are stored along the individual files and using their filename as a basis. Therefore it is better to just use true in project file than some name for a file that won't even get generated.

yogthos commented 9 years ago

sounds reasonable

yogthos commented 9 years ago

and pushed out a new version

yogthos commented 9 years ago

hmm seems like the prod compilation doesn't produce a working uberjar with the latest changes

yogthos commented 9 years ago

Nevermind, looks like I just had to clean the cljsbuild manually. It would be nice to figure out if there's a way to force clean when the uberjar task runs.

lhahne commented 9 years ago

Try adding :prep-tasks [["cljsbuild" "clean"]] to :uberjar

lhahne commented 9 years ago

which actually seems to break something else

yogthos commented 9 years ago

lein works in mysterious ways :)

yogthos commented 9 years ago

think I'm going to sleep on this ;)