REPLs do no write out updated deps.js when compiling files

Description

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.

Environment

None

Activity

Show:
ewen grosjean
December 6, 2015, 9:15 AM

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

David Nolen
December 6, 2015, 2:02 PM

Thanks will review.

Mike Fikes
February 1, 2016, 8:25 AM

cljs-1300.patch no longer applies on master

Assignee

David Nolen

Reporter

David Nolen

Labels

None

Approval

None

Patch

Code

Fix versions

Affects versions

Priority

Major