I built a little integration suite that calls a fugue multi-worker server from a child_process spawn and fugue doesn't seem to like this. If I run the script by hand it starts up just fine. When the children startup they throw:
Error: EADDRINUSE, Address already in use
I have a feeling this has to do with passing environment variables but I can't seem to crack what the children are missing. Any ideas?
After banging my head on this I finally discovered trollopjs was to blame. I am not quite sure what it was doing to the environment but switching to optimist fixed everything.
I built a little integration suite that calls a fugue multi-worker server from a child_process spawn and fugue doesn't seem to like this. If I run the script by hand it starts up just fine. When the children startup they throw:
Error: EADDRINUSE, Address already in use
I have a feeling this has to do with passing environment variables but I can't seem to crack what the children are missing. Any ideas?