This, however, does not happen when starting for the first time (everything compiles, and I can watch the page in the browser; only when I edit index.html and save, I get the error above).
I'm using boot 2.5.0 - with 2.4.2, I'm getting a different error:
> boot dev
Downloading https://github.com/boot-clj/boot/releases/download/2.4.2/boot.jar...
clojure.lang.ExceptionInfo: Unable to resolve symbol: target in this context
data: {:file "/tmp/boot.user2241554893199461149.clj", :line 17}
java.lang.RuntimeException: Unable to resolve symbol: target in this context
...
boot.main/-main/fn main.clj: 169
boot.main/-main main.clj: 169
...
boot.App.runBoot App.java: 361
boot.App.main App.java: 441
...
Boot.main Boot.java: 258
PS: when changing index.html, I'm getting that error. But when editing a JS file after and saving that, there is no error, and I also see the changes in the index.html in the browser.
I'm having a similar problem like #244, but only when I edit the index.html file (using
boot dev
).When I edit JS files, everything works (and reloads) like a charm.
But when changing index.html, I get
This, however, does not happen when starting for the first time (everything compiles, and I can watch the page in the browser; only when I edit index.html and save, I get the error above).
I'm using boot 2.5.0 - with 2.4.2, I'm getting a different error: