News for hackers. Stuff that matters.
Re:Hard-won lessons: Five years with Node.js by technion on Wednesday April 19, 2017 @11:59PM (#14153824)
I've had several experiences with Node.js contractors handing over "finished" applications that were only configured to run under webpack-dev-server[0]

It clearly tells you in the README it's not for production, but I have this recurrent discussion with developers who tell me they have only ever run Node.js this way.

What that tells me is there is quite a trend a towards exactly what you describe, where a lot of what gets written never goes into production.

[0] https://github.com/webpack/webpack-dev-server

Re:Hard-won lessons: Five years with Node.js by Ataraxic on Thursday April 20, 2017 @12:53AM (#14154066)
Webpack dev server simply serves up compiled assets for convenience, because it serves new assets as they are compiled and blocks when compiling. It should be fairly trivial to serve up static production assets as needed. I say this as a person who just converted a production rails app to use webpack as first class citizen.
Re:Hard-won lessons: Five years with Node.js by dspillett on Thursday April 20, 2017 @07:11AM (#14155655)
> in the README [that it is] not for production but ... who tell me they have only ever run Node.js this way. What that tells me is there is quite a trend towards ... a lot of what gets written never goes into production.

No, it is worse than that I would have thought. The cynic in me (who is more often right then wrong) suggests that is means there is a lot of "proof of concept" level of code out there in production environments potentially running important things.