While it's recommended to run webpack-dev-server via the CLI, you may also
choose to start a server via the API. This example starts a simple server setup.
node server.js- Open
http://localhost:8080/in your preferred browser. - You should see the text on the page itself change to read
Success!. - In
app.js, uncomment the code that results in an error and save. This error should be visible in the console/terminal and in browser devtools. - In
app.js, uncomment the code that results in a warning. This warning should be visible in the console/terminal and in browser devtools.