Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

For example a user may edit a file including a new dependency. This will work at the REPL but if a browser refresh is made the emitted {{goog.require}} will fail due to the initial deps.js file being stale.

4 Answers

0 votes
by

Comment made by: ewen

load-file is broken into 4 sub-functions:
repl-compile-cljs: compile the cljs file beeing loaded
repl-cljs-on-disk: ensures all dependencies are on disk
refresh-cljs-deps: refreshes the cljs_deps.js file
repl-eval-compiled: eval the compiled file

0 votes
by

Comment made by: dnolen

Thanks will review.

0 votes
by

Comment made by: mfikes

cljs-1300.patch no longer applies on master

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-1300 (reported by dnolen)
...