Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: SCSS を Watch していても、新規に追加した SCSS ファイルがコンパイルされない #11

Merged
merged 4 commits into from
Aug 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

良き!

"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