sendmessage
Advanced tools
Comparing version 1.0.5 to 1.1.0
1.1.0 / 2016-11-02 | ||
================== | ||
* feat: add more env SENDMESSAGE_ONE_PROCESS (#2) | ||
1.0.5 / 2015-04-14 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -28,3 +28,3 @@ /**! | ||
if (IS_NODE_DEV_RUNNER) { | ||
if (IS_NODE_DEV_RUNNER || process.env.SENDMESSAGE_ONE_PROCESS) { | ||
// run with node-dev, only one process | ||
@@ -31,0 +31,0 @@ // https://github.com/node-modules/sendmessage/issues/1 |
{ | ||
"name": "sendmessage", | ||
"version": "1.0.5", | ||
"version": "1.1.0", | ||
"description": "Send a cross process message if message channel is connected.", | ||
@@ -18,12 +18,11 @@ "main": "index.js", | ||
}, | ||
"dependencies": { | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"autod": "*", | ||
"contributors": "*", | ||
"should": "*", | ||
"istanbul": "*", | ||
"jshint": "*", | ||
"istanbul": "*", | ||
"mocha": "*" | ||
"mm": "^1.5.1", | ||
"mocha": "*", | ||
"should": "*" | ||
}, | ||
@@ -41,3 +40,7 @@ "homepage": "https://github.com/node-modules/sendmessage", | ||
"keywords": [ | ||
"sendmessage", "send", "cluster", "message", "channel closed" | ||
"sendmessage", | ||
"send", | ||
"cluster", | ||
"message", | ||
"channel closed" | ||
], | ||
@@ -44,0 +47,0 @@ "engines": { |
@@ -70,2 +70,4 @@ sendmessage | ||
You can switch to `process.emit('message', message)` using `process.env.SENDMESSAGE_ONE_PROCESS` | ||
## Test | ||
@@ -72,0 +74,0 @@ |
6952
109
7