Fork me on GitHub
#protorepl
<
2016-03-17
>
puppybits03:03:32

Any idea why it’s looking for a user.clj file on booting the cljs project? Also I can pull in libs with (require ‘cljs-time.core).

[32mSuccessfully compiled “dist/proj.js" in 50.218 seconds.
nREPL server started on port 63173 on host 127.0.0.1
user=>
Refreshing code...
Refresh failed: FileNotFoundException Could not locate user__init.class or user.clj on classpath.  clojure.lang.RT.load (RT.java:456)

jasongilman10:03:07

user is the default namespace when the REPL starts. Proto REPL also expects tries to do a refresh of code using clojure.tools.namespace on startup. The refresh code expects that there's a user/reset function. You can disable the refresh on startup in the settings to avoid this problem.

jasongilman10:03:54

This is one of a couple changes that need to be made to improve ClojureScript support.