Skip to content

Commit

Permalink
Log how long a compile took from node-sass's perspective.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Feb 19, 2019
1 parent 5178c86 commit 19eb8e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/broccoli-eyeglass/src/broccoli_sass_compiler.ts
Expand Up @@ -625,7 +625,7 @@ export default class BroccoliSassCompiler extends BroccoliPlugin {
let outputFiles = inputAndOutputFiles[1];

persistentCacheDebug(
"%s is cached. Writing to %s.",
"Persistent cache hit for %s. Writing to: %s",
details.sassFilename,
details.fullCssFilename
);
Expand Down Expand Up @@ -812,6 +812,7 @@ export default class BroccoliSassCompiler extends BroccoliPlugin {
this.events.removeListener("additional-output", additionalOutputListener);
})
.then(result => {
debug(`render of ${result.stats.entry} took ${result.stats.duration}`)
return success(result).then(() => result);
}, failure);
});
Expand Down

0 comments on commit 19eb8e4

Please sign in to comment.