Enable hot module reloading for dev server

This commit is contained in:
Sindre Aarsaether 2019-08-31 22:37:01 +02:00 committed by GitHub
parent 007d431be5
commit c69b1a9082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
}, },
"scripts": { "scripts": {
"start": "imba src/server.imba", "start": "imba src/server.imba",
"dev": "webpack-dev-server --content-base dist/", "dev": "webpack-dev-server --hot --content-base dist/",
"build": "webpack", "build": "webpack",
"watch": "webpack --watch --progress --colors --display-modules" "watch": "webpack --watch --progress --colors --display-modules"
}, },