For a quick local server:
npm install browser-sync --save-devIn package.json:
"scripts": {
"server": "browser-sync start --directory --server --files '*.js, *.html, *.css'"
}To skip installing numerous npm modules, use SystemJS
For a quick local server:
npm install browser-sync --save-devIn package.json:
"scripts": {
"server": "browser-sync start --directory --server --files '*.js, *.html, *.css'"
}To skip installing numerous npm modules, use SystemJS