Hi guys, quick question that has already been asked, but with no satisfactory answer.
I’m developing mostly using web mode. I already have a non-expo-related reloading mechanism in place. Whenever I do changes to the code, I see the update in the browser immediately.
But then, 1-2 seconds afterwards, another reloading mechanism kicks in, that takes an annoyingly long amount of time (3-4 seconds) and refreshes the entire web page.
I assume that it is expo-related (not sure though) and that it’s either hot- or live reloading. Is there any way to disable it?
Yea, finally found the answer. The reloading mechanism is coming from webpack-dev-server (running in version 3.11.0 on my machine). In order to get rid of it, I
ran expo with customize:web and selected to create a webpack.config.js
added config.devServer.watchOptions.ignored = [/.*/]; to webpack.config.js
@wodin: I’m finally quite comfortable with my cljs/shadow/expo - setup. Right now I get about 50% feedback from the REPL, 40% from the browser and the last 10% I spend fixing stuff that works in the browser, but not on my mobile. Let me know if you need any help setting it up.