Skip to content

Commit 30d7eed

Browse files
Webpack watch command added
1 parent d8e7831 commit 30d7eed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "React JS Code Splitting - Why and How? workshop",
55
"main": "index.js",
66
"scripts": {
7-
"start": "./node_modules/.bin/webpack --config ./webpack.config.js && ./node_modules/.bin/serve -s ./public"
7+
"start": "./node_modules/.bin/webpack --config ./webpack.config.js && ./node_modules/.bin/serve -s ./public",
8+
"watch": "./node_modules/.bin/webpack --config ./webpack.config.js --watch"
89
},
910
"repository": {
1011
"type": "git",
@@ -34,4 +35,4 @@
3435
"webpack": "^4.35.0",
3536
"webpack-cli": "^3.3.5"
3637
}
37-
}
38+
}

0 commit comments

Comments
 (0)