protorepl

puppybits 2016-03-17T03:48:32.000008Z

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)

jasongilman 2016-03-17T10:45:07.000009Z

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.

jasongilman 2016-03-17T10:45:54.000010Z

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