lein-figwheel 2018-06-03

@bhauman Thanks for making the figwheel-main i was trying to bolt figwheel on cljs.main but then i saw on clojurescriptchannel about figwheel-main and it is awesome. Now i am gonna send just one link to my resume to the prospective employer.

@bhauman My current barebones figwheel-main based resume in progress is like this : clj -Sdeps '{:deps {github-metacritical/cljscv {:git/url "" :sha "6dad5bfbc29892a8c2f385b8275673863d1f6c6e"}}}' -m figwheel.main -co '{:main resume.core}' -c resume.core -r the only problem is this creates a target directory and even warns that deps.edn does not have a targetdirectory. Is there a way it would not create a targetdirectory or may be create it in /tmp or may be cleanup when we press C-c

@metacritical yeah I've been thinking about this, but there's not going to be a solution anytime soon

remember a .cpcache is also being created I think

you can get rid of the warning by adding :paths ["src" "target"] to the Sdeps

@metacritical oh I figured it out, figwheel.main -co '{:main resume.core}' -r creates a temp-directory without warnings

@bhauman, thanks for the reply. It does not give warnings if target directory exists, but on a fresh invocation it does warn. Try deleting the existing target directory, it would complain and then create a targetdirectory. Can there be a flag based option say -twhich guides where to create the target directory?

@metacritical are you talking about the temp target dir?

@metacritical are you using figwheel.main -co '{:main resume.core}' -r explicitly without the -c flag?

oh so strange

your on a mac?

let me try to reproduce

i get no such warning

maybe you aren't using the latest snapshot

Let me check.

It is the latest snapshot, i used the same command as above clj -Sdeps '{:deps {github-metacritical/cljscv {:git/url "" :sha "6dad5bfbc29892a8c2f385b8275673863d1f6c6e"}}}' -m figwheel.main -co '{:main resume.core}' -c resume.core -r

oh take "target" out of the deps edn

no that shouldn't do it

but you don't need it there if you are using a temp dir

but targetis the default.

It warns anyway. ther is no way to use temp is there?

that command has a "-c" in it

@metacritical get rid of the -c resume.core and it works

I stated that above 🙂

I didnt see.

@bhauman thankyou it works!!! 🙂

👍 1

@bhauman There is only one problem it does not start the resume.core ns which i want to start as soon as it loads.

So a -c resume.core is a necessity.

-c isn't a neccessity

its loading core

@bhauman it warns without the -c

yes it will as the resume.core is not supposed to be there

@bhauman yes if i dont use the -c flag, it loads the default figwheel.main

it really shouldn't

I understand.

@bhauman does it look like a caching issue?

looks like you don't have the latest

as I fixed this bug earlier today

will clean the .mvn and check again.