Skip to content

Commit

Permalink
Merge pull request #11 from inouetakuya/watch-new-scss-files
Browse files Browse the repository at this point in the history
Fix: SCSS を Watch していても、新規に追加した SCSS ファイルがコンパイルされない
  • Loading branch information
inouetakuya committed Aug 11, 2018
2 parents 3e87429 + 3c2477e commit 93a7bc3
Show file tree
Hide file tree
Showing 2 changed files with 1,001 additions and 21 deletions.
9 changes: 6 additions & 3 deletions my-standard-layout-scss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
"repository": "https://github.com/inouetakuya/html5-css3-modern-coding/my-standard-layout-scss",
"license": "MIT",
"scripts": {
"build:scss": "node-sass --recursive src/scss --output src/css",
"build:scss:watch": "yarn run build:scss && yarn run build:scss --watch",
"build:scss": "yarn run clean:css && node-sass --recursive src/scss --output src/css",
"build:scss:watch": "nodemon --watch src/scss --ext scss --exec 'yarn run build:scss'",
"clean:css": "rimraf src/css",
"serve": "browser-sync start --server 'src' --files 'src/css/*.css', 'src/*.html'"
},
"devDependencies": {
"browser-sync": "^2.24.6",
"node-sass": "^4.9.3"
"node-sass": "^4.9.3",
"nodemon": "^1.18.3",
"rimraf": "^2.6.2"
}
}
Loading

0 comments on commit 93a7bc3

Please sign in to comment.