sergeyksv/tinyhook — Issue #1: This needs some documentation
Author: respectTheCode
Created: 2012-03-09 17:03:13+00:00
State: open

I tried swapping out hook.io with this project and none of the messages get through. Stripped it all the way down to the code bellow and still nothing.

var Hook = require("tinyhook").Hook;
var hook = new Hook({name: "test"});
hook.start();

hook.on("*", function () {
console.log("Got message", arguments);
});

hook.on("hook::ready", function () {
hook.emit("ready");
console.log("hook ready");
});

I am guessing that I am doing something wrong since the readme implies that this is being used in production.