enb / enb-magic-platform

ENB make platform to create nodes and targets in runtime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not support normal tasks

blond opened this issue · comments

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