@bhauman Thanks for making the figwheel-main
i was trying to bolt figwheel
on cljs.main
but then i saw on clojurescript
channel 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 "<https://github.com/metacritical/cljscv>" :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 target
directory. Is there a way it would not create a target
directory 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 target
directory. Can there be a flag based option say -t
which guides where to create the target directory?
@metacritical are you talking about the temp target dir?
@bhauman yes
@metacritical are you using figwheel.main -co '{:main resume.core}' -r
explicitly without the -c
flag?
yes
oh so strange
your on a mac?
let me try to reproduce
Yes
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 "<https://github.com/metacritical/cljscv>" :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
yes
but target
is the default.
It warns anyway. ther is no way to use temp is there?
e
that command has a "-c" in it
@metacritical get rid of the -c resume.core
and it works
ohh
I stated that above 🙂
I didnt see.
Sorry
@bhauman thankyou it works!!! 🙂
@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
@bhauman uploaded a file: https://clojurians.slack.com/files/U064J0EFR/FB0V57GBX/screen_shot_2018-06-03_at_4.18.47_pm.png
its loading core
wow
@bhauman it warns without the -c
yes it will as the resume.core is not supposed to be there
https://clojurians.slack.com/archives/C0B22RS2Y/p1528066984000003
@bhauman yes if i dont use the -c flag, it loads the default figwheel.main
1 sec
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
hmm
will clean the .mvn and check again.