Question: and do you have HMR?

Asked By
jgt
Asked At
2017-10-03 15:17:54

Found 15 possible answers.

User Answered At Possible Answer
coreyhaines 2017-10-03 15:17:57 What’s that?
jgt 2017-10-03 15:18:01 hot module reloading
coreyhaines 2017-10-03 15:18:12 in production? no
jgt 2017-10-03 15:18:18 no, in dev
coreyhaines 2017-10-03 15:18:20 Don’t have it in development either
jgt 2017-10-03 15:18:23 ah
coreyhaines 2017-10-03 15:18:37 We don’t tend to look at it in the browser during development that often The feedback cycle (refreshing the page) isn’t too long to make it worth the complexity
ilias 2017-10-03 15:18:50 There is a hot module swap thing for webpack, but I'm not sure how well it is supported at the moment. Perhaps, eventually, it'll be part of the language (again)
coreyhaines 2017-10-03 15:19:10 When we get around to looking at it in the browser, we just compile and refresh the page Most of the work, though, is done without the browser loading it, just code -> compile -> code -> compile
jgt 2017-10-03 15:19:34 @ilias it works well, and I've used it in other projects. I'm just not sure how to make webpack serve two projects at once
coreyhaines 2017-10-03 15:19:37 That’s just our flow, though
jgt 2017-10-03 15:19:52 @coreyhaines yeah I can dig that, but I think my colleagues won't
coreyhaines 2017-10-03 15:19:53 I don’t see why the way we build it (with the two apps) would make it not support reloading
afidegnum 2017-10-03 15:20:10 erm ... what's the meaning of this expression again? { counter = 0, text = "", textField = "" } ! []
jgt 2017-10-03 15:20:14 they have HMR in cljs, and my job is to show that Elm can do everything cljs can do but so much better

Related Questions