Fork me on GitHub
#shadow-cljs
<
2017-12-27
>
wilkerlucio18:12:18

I'm trying to experiment with shadow-cljs in a Leiningen project, how can I make the shadow-cljs use resources/public as the public folder instead of public?

thheller18:12:30

use for what? it is just the :output-dir?

wilkerlucio18:12:58

@thheller I want to open the browser and see the page, I can't find a way to make the index.html work, because it tries to look into public, which doens't exist

wilkerlucio18:12:11

and I can't change my project structure, other people depend on the current directory structure

wilkerlucio18:12:11

I really just want to see if some problems that I currently have with Figwheel can be fixed by shadow-cljs, like how I have to trigger a rebuild after the first one, otherwise some specs don't work

wilkerlucio18:12:28

but all examples I saw, they all seem to target people starting new projects, would be nice if we have some information on how to use shadow-cljs in a project that is already using figwheel (which is most of cljs projects I believe)

thheller18:12:19

what does your config say?

thheller18:12:31

it is either :output-dir or :http-root

thheller18:12:43

the spec bug you'll probably see in shadow-cljs as well since its a bug in clojurescript itself that was fixed recently but not released yet

wilkerlucio18:12:04

thanks, I think :http-root is what I was looking for 🙂

wilkerlucio18:12:48

@thheller can you send me the link for this jira ticket? I would like to take a read if have it easy