enb / enb-magic-platform

ENB make platform to create nodes and targets in runtime
Other
10 stars 3 forks source link

Does not support normal tasks #46

Closed blond closed 9 years ago

blond commented 9 years ago

ENB config:

module.exports = function(config) {
    config.task('normal-task', function () {
        console.log('Task is running...');
    });
});

Run the normal-task:

$ magic run normal-task

Actual:

Nothing happens.

03:33:55.840 - build started
03:33:55.847 - build finished - 1271ms

Expected:

03:33:55.840 - build started
Task is running...
03:33:55.847 - build finished - 1271ms