Fork me on GitHub
#shadow-cljs
<
2020-06-09
>
Harshana12:06:54

Hey all, I git cloned a re-frame project and am working on it. If I make any changes in the files and save them, hot reloading happens.But when I created a new file and saved it, it gets compiled but hot reloading doesnt happen. I am giving shadow-cljs watch app every time after saving to compile it. But the changes are getting rendered. What might be the issue here?

Aron14:06:04

what might be the reason for source map discrepancies? What I mean is that the reported file:linenr don't seem to be related to the problem at all, it's a simple (def ...) form not sure how could that throw, in fact I am fairly sure I know where the error is, when I send React some value it thinks is a function and tries to call it in a third party component. But, again, this def is not related to that component, it isn't even used there.

thheller15:06:33

@ashnur I just fixed a source map issue in the recent release. whats the context for you though? which target? release or dev? etc?

Aron18:06:59

dev, I will check my version, probably update and try it. But I am very new to this whole thing so I am doing it a bit empirically, with less theory than I would wish for.

thheller19:06:07

dev isn't affected by the changes I made. also never had any reports of source maps being incorrect during dev though.

Aron21:06:21

There are two ways sourcemaps can be incorrect. One is when the mapping points to the wrong place. The other when the mapping is correct but the original stacktrace is not relevant. I am not sure in this second case it's actually a source map issue what I am experiencing. I am not experiencing the first case, that's for sure.

pcj21:06:44

Has anyone gotten shadow-cljs in a luminus app to work on dokku/heroku?

fabrao23:06:13

WARNING: The thheller/shadow-cljs dependency in shadow-cljs.edn was ignored. Default version is used and override is not allowed to ensure compatibility. is this error message is about what?

fabrao23:06:50

I can´t use :dependencies in shadow-cljs.end anymore?