Skip to content

Commit

Permalink
fix(logger): Change log notification for watcher when files change.
Browse files Browse the repository at this point in the history
[BRANCH: master]
  • Loading branch information
thezimmee committed May 31, 2018
1 parent 0c888ff commit b70de37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/stakcss.js
Expand Up @@ -281,8 +281,7 @@ function createWatcher(config = {}) {
.on('change', (filepath) => {
timer.start('watcher-' + config.id);
config.content = '';
log.warn(`Changed: ${filepath}`);
log.warn(`Running [${config.id}]...`);
log.warn(`[${config.id}] Changed: ${filepath}`);
return runProfile(config).then(() => {
timer.stop('watcher-' + config.id);
log.warn(`[${config.id}] Done (${timer.duration('watcher-' + config.id)}).`);
Expand Down

0 comments on commit b70de37

Please sign in to comment.