diff --git a/apps/lib/service.js b/apps/lib/service.js index 0a88f2b7..e0b63390 100644 --- a/apps/lib/service.js +++ b/apps/lib/service.js @@ -189,7 +189,7 @@ var service = function(name, options) { then: function(cb) { console.log('setup service listener'); - process.on('message', function(data) { + process.once('message', function(data) { // console.log('RECOG SERVICE THEN', data) if (data.eventType === 'service-emit' &&