From 81291beae362abbb8a3abe311b171eddfc4669b0 Mon Sep 17 00:00:00 2001 From: xzyfer Date: Tue, 17 Apr 2018 01:19:59 +1000 Subject: [PATCH] Don't watch or compile .css files This was a non-standared feature in LibSass we had to support. It is being removed in LibSass 3.6.0. This prevents people from output their source directory. See sass/libsass#2611 See #2184 See #2006 See #1933 See #1925 See #1867 See #1845 --- lib/watcher.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/watcher.js b/lib/watcher.js index 596bcba2c..f8054a16a 100644 --- a/lib/watcher.js +++ b/lib/watcher.js @@ -9,7 +9,7 @@ watcher.reset = function(opts) { config = clonedeep(opts || config || {}); var options = { loadPaths: config.includePath, - extensions: ['scss', 'sass', 'css'], + extensions: ['scss', 'sass'], follow: config.follow, }; diff --git a/package.json b/package.json index 4c3fd6cef..06715ada8 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "node-gyp": "^3.3.1", "npmlog": "^4.0.0", "request": "^2.85.0", - "sass-graph": "^2.2.4", + "sass-graph": "^3.0.0", "stdout-stream": "^1.4.0", "true-case-path": "^1.0.2" },