alexandrialibrary / Alexandria

Alexandria is a simple little card catalogue webapp with a terribly pretentious name.
MIT License
2 stars 1 forks source link

Consider using Untyped SBT web assets plugins #78

Open hawkw opened 9 years ago

hawkw commented 9 years ago

untyped/sbt-plugins has a nice-looking set of SBT plugins for handling the web assets pipeline, including JS/CoffeeScript and SASS. These might be worth looking into as an alternative to our current system using WRO4J, which is admittedly kind of janky.

If these have continuous compilation, I think it'd definitely be worth switching, since I haven't been able to figure out how to make WRO4J build web assets automatically yet. It would also be nice if we could get them to minify in deploy only and use unminified scripts in dev.

hawkw commented 9 years ago

I haven't been able to figure out how to make WRO4J build web assets automatically yet

Never mind, ~wro4j in the SBT console works and will automagically rebuild web assets on source changes. (~ being the SBT command prefix to watch the source directory and re-run a task on changes). I thought I had tried this and it hadn't worked, but I must've been wrong.