Update du script de start

This commit is contained in:
Anthony Dumas 2019-03-11 13:34:41 +01:00
parent 3ed9f889b1
commit c0662c4f5a
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
web: npx browser-sync start --server --files "*.html" --files "css/*.css" web: npm start

View File

@ -32,9 +32,10 @@
"deploy": "npm run css-deploy && npm run js-build", "deploy": "npm run css-deploy && npm run js-build",
"js-build": "babel _javascript --out-dir lib", "js-build": "babel _javascript --out-dir lib",
"js-watch": "npm run js-build -- --watch", "js-watch": "npm run js-build -- --watch",
"start": "npm-run-all --parallel css-watch js-watch" "auto-loading": "npx browser-sync start --server --files '*.html' --files 'css/*.css'",
"start": "npm-run-all --parallel css-watch js-watch auto-loading"
}, },
"dependencies": { "dependencies": {
"browser-sync": "^2.26.3" "browser-sync": "^2.26.3"
} }
} }