Fork me on GitHub
#shadow-cljs
<
2018-02-25
>
tianshu04:02:48

@lilactown if a file is overwritten by the same content, also trigger a reload?

lilactown04:02:18

That sounds consistent with my experience, but I'm not sure

tianshu06:02:08

just have a test, that's not true

tianshu07:02:24

It's super fancy to use shadow-cljs with react-native script, not expo.

tianshu07:02:09

found source map not work

tianshu07:02:49

but hot reload is good, no need figwheel, just use the built-in hot reload.

tianshu08:02:53

another bad news is repl will not work.

lilactown18:02:30

yeah I ran into that with using e.g. storybook - since you’re consuming the code as a library instead of executing it live, REPL doesn’t work

lilactown18:02:54

I actually have a question re: file watching as well

lilactown18:02:37

is there any way to switch shadow-cljs to poll for changes, instead of relying on events?

lilactown18:02:45

I’m running into issues running on docker toolbox on windows 🙃 been fighting with it for about ~30 hrs now and at this point, only thing that doesn’t work is hot reload

lilactown18:02:25

here's an issue explaining why it doesn't work: https://github.com/docker/for-win/issues/56