bhauman / lein-figwheel

Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
Eclipse Public License 1.0
2.89k stars 210 forks source link

Complains about output-dir from different build #39

Closed skrat closed 9 years ago

skrat commented 10 years ago

I have some different (cljs)builds that I don't use with figwheel, having their output-dir set outside resources. When I run lein figwheel app, where app has output-dir set under resource/public, figwheel complains about it quits. When I remove my other (non figwheel compatible) build from project.clj, everything works.

bhauman commented 10 years ago

Well that's not right. Thanks for letting me know. I'll take a look.

bhauman commented 9 years ago

I have looked at this a bit and I have recently committed code that should fix this. If you have a project.clj that displays this behavior I'd love to see it.

lsgrep commented 9 years ago

+1, I am having the same problem. I can't get figwheel working with default clojurescript template.

bhauman commented 9 years ago

can you send me your project.clj?

bhauman commented 9 years ago

xperian is this it: https://github.com/swannodette/mies/blob/master/src/leiningen/new/mies/project.clj

lsgrep commented 9 years ago

yes. this is it. Sorry, I had classes this evening.

bhauman commented 9 years ago

Yes xperian you have to have your :output-dir and output-to both need to be under resources/public for figwheel to work. Please read the Readme