You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the V2 version npm start directly invokes the webpack-dev-server cli, so there is no way that I know of to listen for the end of the (first) compilation to print a message to the console afterwards. Webpack however prints it by default on the very top (which after bundling is in the scrollback).
If this isn't good enough I don't see another way than bootstrapping the webpack-dev-server in a script file so that we can register a listener to when the first compilation is done (as a reference the implementation in the V1 branch).
Would there be something speaking against a devserver.js script in the root dir (like it has been in V3 with server.js)? After all, it seems to be just a small wrapper around the CLI, or am I missing something?
As brought up in generator-react-webpack #266
V2
--opencall onnpm start@weblogixx should I tackle this?