@dietechniker/gulp-sass-dependency-tracker
Advanced tools
{ | ||
"name": "@dietechniker/gulp-sass-dependency-tracker", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A NodeJS gulp package to optimize sass compilation - only compile what you actually changed.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -92,4 +92,4 @@ # GulpSassDependencyTracker [](https://badge.fury.io/gh/DieTechniker%2Fgulp-sass-dependency-tracker) [](https://badge.fury.io/js/%40dietechniker%2Fgulp-sass-dependency-tracker) | ||
debug: false // Whether or not to provide debug log message (e.g. from the dependency detection) | ||
suppressOutput: false // Whether or not to suppress all console messages (does not apply to debug output!) | ||
suppressOutput: false // Whether or not to suppress all console messages | ||
} | ||
``` |
@@ -144,2 +144,6 @@ 'use strict'; | ||
if (this.isDebug() && !this.isOutputSuppressed()) { | ||
logging.log.info(logging.colors.debug(`Found import: "${importPath}" in ${filePath}`)); | ||
} | ||
let importFilePath; | ||
@@ -158,3 +162,3 @@ for (let inclPath of includePaths) { | ||
} else { | ||
} else if (!this.isOutputSuppressed()) { | ||
logging.log.warn(logging.colors.warn(`Unable to resolve dependency "${importPath} for ${filePath}`)); | ||
@@ -161,0 +165,0 @@ } |
@@ -78,3 +78,3 @@ 'use strict'; | ||
if (this[_isDebug] && !this[_isOutputSuppressed]) { | ||
if (this[_isDebug]() && !this[_isOutputSuppressed]()) { | ||
logging.log.info(logging.colors.debug(`Dependency added: ${sourceFilePath} => ${dependencyPath}`)); | ||
@@ -98,3 +98,3 @@ } | ||
if (this[_isDebug] && !this[_isOutputSuppressed]) { | ||
if (this[_isDebug]() && !this[_isOutputSuppressed]()) { | ||
logging.log.info(logging.colors.debug(`Dependency removed: ${sourceFilePath} =/=> ${dependencyPath}`)); | ||
@@ -142,3 +142,3 @@ } | ||
if (this[_isDebug] && !this[_isOutputSuppressed]) { | ||
if (this[_isDebug]() && !this[_isOutputSuppressed]()) { | ||
logging.log.info(logging.colors.debug(`AsCompiled: ${sourceFilePath}`)); | ||
@@ -162,3 +162,3 @@ } | ||
if (this[_isDebug] && !this[_isOutputSuppressed]) { | ||
if (this[_isDebug]() && !this[_isOutputSuppressed]()) { | ||
logging.log.info(logging.colors.debug(`Marking for recompilation: ${sourceFilePath}`)); | ||
@@ -165,0 +165,0 @@ } |
@@ -0,0 +0,0 @@ 'use strict'; |
61739
0.43%500
0.6%