diffto your current project
@larix/zen. I think we might try to add an option to
@larix/zento actually output webpack configs to file system in such a way that they are ready for direct consumption of webpack.
@larix/zenis pretty great. I did the switch over last night (I'm in San Francisco time) and got it all working. It was pretty painless. There was some weirdness with NODE_ENV not being set that I had to tweak (open question: is there a way to set that with
webpack-dev-server? I couldn't find it in their docs)
process.env.NODE_ENVis undefined when running
cross-env NODE_ENV=production webpack
A couple quick questions...
1) It seems like updating anything in the
server folder recompiles but doesn't refresh the React app
2) When I make changes to the
server folder, I get some nice stats about recompiling but not in the
I believe both of these are due to the server using
webpack --watch and web using
webpack-dev-server. Been trying to figure out through their CLI options what to pass to enable these things but I'm coming up short. Any suggestions?
serverreload the React app in
web? This is what
zendid for me