substack/node-git-emit — Issue #1: Allow functions to operate globally
Author: switz213
Created: 2012-01-10 06:42:19+00:00
State: open

I don't want to have to specify a directory. If something is pushed to the node server through pushover, I should be able to run

var gitEmit = require('git-emit')(); //global

gitEmit.on('update', function(update) {
console.log("Global update hook");
});

Perhaps this is already possible, but I couldn't see it.

Thanks