summaryrefslogtreecommitdiff
path: root/lib/worker/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/worker/index.js')
-rw-r--r--lib/worker/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/worker/index.js b/lib/worker/index.js
index 604756b..52f12e2 100644
--- a/lib/worker/index.js
+++ b/lib/worker/index.js
@@ -29,4 +29,7 @@ ipc.connectTo('cortex', () => {
ipc.of.cortex.on('job', (data) => {
ipc.log('received job: '.debug, data);
})
+ ipc.of.cortex.on('task', (data) => {
+ ipc.log('received task: '.debug, data);
+ })
})