Closed SeeThruHead closed 8 years ago
hmm I don't plan on using Node for the server portion, does it add anything beyond that? I kind of like not having the server right in the repo for this case
The devserver file is only taking the place of webpack-dev-server. This is to be able to use this wonderful project: https://github.com/webpack/webpack-dev-middleware
Errors will now appear directly in the browser frame React errors will also be caught and displayed in a similar manner by react-transform-catch-errors The pr also uses react-transform-hmr over react-hot-loader (which is stable but deprecated)
errors thing looks decent but I always have the console open anyway, for now I like the webpack dev server thing since it doesn't anymore code. I'll come back to this if it makes sense later!
YMMV but I've found this setup to be much nicer to work with. Reference: https://github.com/gaearon/react-transform-boilerplate