Contains a simple configuration for HRM
for express
with webpack@^2.6.1
.
- The module in charge of doing the HRM is
./dev-elements/hrm-loader.js
. - The root file is
./src/main.js
. - The webpack file is
./.dev-tools/webpack.config.dev.js
.
- Clone the repo.
yarn
ornpm install
- In one terminal:
yarn start
ornpm start
(for the build). - In another terminal:
yarn server
ornpm run server
(for the actual server). - Open
http://localhost:3000
. - Try modifying
./src/main.js
.