【问题标题】:It's possible to hide the grunt-contrib-watch log?可以隐藏 grunt-contrib-watch 日志吗?
【发布时间】:2016-08-17 13:02:01
【问题描述】:

grunt-contrib-watchgrunt-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"]
        }
    },

【问题讨论】:

    标签: javascript gruntjs grunt-contrib-watch grunt-concurrent


    【解决方案1】:

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

    【讨论】:

    • 我已经尝试过了,但是 grunt-verbosity 并没有通过 livereload 执行手表
    猜你喜欢
    • 2015-01-25
    • 1970-01-01
    • 1970-01-01
    • 2017-06-12
    • 2023-03-12
    • 1970-01-01
    • 2014-11-19
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多