Building a Dev Server with Express and Webpack


npm i --save-dev express
node server.js

Running Webpack in Node

npm i --save-dev webpack-dev-middleware

Adding hot reload

npm i --save-dev webpack-hot-middleware




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Build authentication into your Laravel API with JSON Web Tokens (JWT)

Create Node.js web server with Express

Reasons to Love Jest: The Test Framework

React: Refactor Using useReducer Hook

How to implement and use Swagger in Node.js

16 Programming Mistakes Most Inexperienced Programmers Make

Programming mistakes most inexperienced programmers make

CSS in JS in real-life — appendix

Bootstrapping a local ReactJS web application with NodeJS and npm

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mike Pottebaum

Mike Pottebaum

More from Medium

How to install Node JS on Ubuntu(Linux)

Node.js Installation on Ubuntu 20.04

How to Handle Stream Data Requests in Node.js