stdout isn't padded when logConcurrentOutput is true
henrahmagix opened this issue · comments
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-concurrent');
grunt.registerTask('log', 'Log to the console.', function (message) {
console.log(message);
});
grunt.initConfig({
concurrent: {
logNo: {
options: {
logConcurrentOutput: false
},
tasks: ['log:one', 'log:two']
},
logYes: {
options: {
logConcurrentOutput: true
},
tasks: ['log:one', 'log:two']
}
}
});
};
$: grunt concurrent:logNo
Running "concurrent:logNo" (concurrent) task
Running "log:one" (log) task
one
Done, without errors.
Running "log:two" (log) task
two
Done, without errors.
Done, without errors.
$: grunt concurrent:logYes
Running "concurrent:logYes" (concurrent) task
Running "log:two" (log) task
Running "log:one" (log) task
one
two
Done, without errors.
Done, without errors.
Done, without errors.
I can replicate this problem. More than stdout isn't padded its not padded correctly and the logs are mixed together.
I could use some feedback on #59.