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:
Mike Fikes
January 31, 2016, 9:25 PM

cljs-1300.patch no longer applies on master

David Nolen
December 6, 2015, 3:02 AM

Thanks will review.

ewen grosjean
December 5, 2015, 10:15 PM

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

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

David Nolen

Reporter

David Nolen

Patch

Code