dictatorship
Your EADDRINUSE nightmares can come to an end.
overthrow(port, fn)
Look for processes currently listening in the provided port, process.kill
all of them, and then invoke the callback function, which will be safely able to listen on that port.
Installation
npm install dictatorship --save
Usage
var dictatorship = ; dictatorship;
Not recommended for production environments. The purpose of this module is to overthrow renegade node processes spawned by grunt-contrib-watch and their ilk.