可以隐藏grunt-contrib-watch日志

It's possible to hide the grunt-contrib-watch log?

本文关键字:日志 grunt-contrib-watch 隐藏      更新时间:2023-09-26

使用grunt-contrib-watch和grunt-concurrent我想隐藏/忽略只有监视日志当一个或多个文件被更改

像这样:

>> File "karma/lcov-report/login/Login.js.html" changed.
>> File "karma/lcov-report/login/index.html" changed.

这是可能的吗?

我的并发grunt配置:

    concurrent: {
        options: {
            logConcurrentOutput: true
        },
        karma: {
            tasks: ["karma:dev", "watch:karma"]
        }
    },

如果grunt-watch选项中没有相关的选项,您可以尝试grunt-verbosity