lein-figwheel

2017-01-25T14:59:56.000462Z

Anyone here particularly adept at figwheel? Built a Reagent app from the default Reagent lein template and deployed to heroku (http://www.archetyp.io) but even in prod there’s a brief “ClojureScript has not been compiled! please run lein figwheel” which displays and then disappears after compile. We don’t use :requires outside of a namespace declaration (as per one post on SO) and I think our :builds :externs are all correct. Any ideas or pointers in troubleshooting? Our project.clj is here https://gist.github.com/ekhall/d852a29bd4acce0256975ca6af910bdd

2017-01-25T17:41:51.000463Z

@eugekev That’s in the index.html file in resources/public

2017-01-25T17:42:23.000464Z

It appears when the browser downloads the HTML, and displays until the browser’s mounted the app to the DOM.

👍 1
2017-01-25T17:42:38.000465Z

You can replace it with a nicer message or something that includes <noscript> tags for further accessibility

2017-01-25T17:59:22.000466Z

@talexxx: ah maybe I'm misunderstanding things. I've seen the location of that but I'd thought this message was part of the figwheel toolchain that was still being triggered in production because something wasn't setup correctly or fully compiled yet. And that a user's first load triggered the compile and it's then cached in their browser. I can certainly hide the message if it doesn't mean something is setup incorrectly.

2017-01-25T18:28:28.000468Z

Thanks @talexxx!