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

0 votes
in ClojureScript by

Re-compiling a ClojureScript project in which macros have been changed, does not recompile namespaces that consume those macros - cached versions are used instead.

Reproduction:
1. compile a project, eg. clj -m cljs.main --optimizations advanced -c app.core
2. make a change to a macro that app.core depends on, say app.macros
3. re-run the same compile,
app.core does not pick up the changes in app.macros - instead one must delete the out dir or make a changes to app.core in order for it to correctly re-compile.

1 Answer

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