kaughtup
3/2/2018 - 8:54 AM

pkg-json__sample--browsersync

browser sync のパッケージジェイソンのサンプル "start": "browser-sync start --server --files='./.html, ./.css', ./*.js'" を加えればOK

{
  "name": "",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "browser-sync start --server --files='./*.html, ./*.css', ./*.js'"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "browser-sync": "^2.23.6"
  }
}