var child_process = require('child_process');
var path = require('path');

module.exports = function(grunt) {
  grunt.registerTask('dmncompile', function() {
    var done = this.async();
    var dmnPath = path.join(__dirname, '../../dmn-js/');
    child_process.exec('npm i && rollup -c', { maxBuffer: 1024 * 500, cwd: dmnPath }, function(err) {
      if(err) {
        console.log(err);
      }
      done();
    });
  });
};

@@ -267,16 +267,25 @@
 ('npm i 
+--silent 
 && rollu
@@ -288,16 +288,25 @@
 ollup -c
+ --silent
 ', %7B max

make dmncompile commands silent