make invalidation message look less like an error

This commit is contained in:
Rich Harris
2017-12-23 10:55:55 -05:00
parent 68c2f2e388
commit f8e237b265

View File

@@ -42,7 +42,7 @@ module.exports = function create_watcher() {
const compiler = compilers[type];
compiler.plugin('invalid', filename => {
console.log(chalk.red(`${type} bundle invalidated, file changed: ${chalk.bold(filename)}`));
console.log(chalk.cyan(`${type} bundle invalidated, file changed: ${chalk.bold(filename)}`));
deferreds[type] = deferred();
watcher.ready = invalidate();
});