Skip to content

Commit

Permalink
fix dev scss
Browse files Browse the repository at this point in the history
  • Loading branch information
付会翔 committed Dec 7, 2016
1 parent e799a30 commit 4cbf9bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

> 以下带有 [update] 前缀的为不兼容更新,需要注意。而带有 [fix] 前缀的更新为异常修复,建议尽快更新。
## 3.2.2

* [fix] 修复在开发模式下无法正确编译 scss 的问题。

## 3.2.1

* [fix] 修复在开发模式下无法正确识别 scss 的问题。
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wishbao",
"version": "3.2.1",
"version": "3.2.2",
"description": "This project is to nuts gulp workflow.",
"main": "./bin/nuts.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion tasks/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function taskWatch(devDir, outDir, proName) {
//监控样式表是否改动
task.watch(`${devDir}/${styleType}/*.${styleType}`).on('all', (event, filePath, stats) => {
console.log(`文件 ${filePath} 触发 ${event} 事件,重新编译中。。。`);
compassSass(filePath, `${outDir}/css`);
compassStyle(filePath, `${outDir}/css`);
});

// 监控静态文件是否变更
Expand Down

0 comments on commit 4cbf9bc

Please sign in to comment.