Fork me on GitHub

figwheel is trying to reload my CSS updates from whichever client-side route i'm currently on, rather than the root resource. can anyone provide some clues? thanks!

GET  net::ERR_ABORTED 404 (Not Found)


Solved: as simple as making sure the css link in index.html is using an absolute path:

<link rel="stylesheet" type="text/css" href="/css/site.css">


I have some code in my :watch-dirs which can't compile. However, the rest of the code is okay. I've set :build-inputs to just [:main] which solved the immediate compilation, but when doing cljs-repl, it tries to build the code in :watch-dirs and fails. This doesn't halt execution, but it appears as an error when it either isn't or shouldn't be. I'm in a context where simply removing the path from watch-dirs isn't easy, and I'm worried about other libraries which may have optional namespaces which don't work unless you add certain dependencies. What are my options for this case?