For a quick local server:
npm install browser-sync --save-dev
In 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-dev
In package.json
:
"scripts": {
"server": "browser-sync start --directory --server --files '*.js, *.html, *.css'"
}
To skip installing numerous npm modules, use SystemJS