mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-19 22:05:20 +00:00
make invalidation message look less like an error
This commit is contained in:
@@ -42,7 +42,7 @@ module.exports = function create_watcher() {
|
|||||||
const compiler = compilers[type];
|
const compiler = compilers[type];
|
||||||
|
|
||||||
compiler.plugin('invalid', filename => {
|
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();
|
deferreds[type] = deferred();
|
||||||
watcher.ready = invalidate();
|
watcher.ready = invalidate();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user