Created
August 25, 2011 21:08
-
-
Save tommedema/1171963 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mediator = require('mediator'); | |
/* setup browserify as soon as http server is created */ | |
mediator.once('server.created', function(server) { | |
server.use(require('browserify')({ | |
require: __dirname + '/../../client/js/bootstrap.js' | |
, entry: [ | |
__dirname + '/../../client/js/lib/eventemitter2.js' | |
] | |
})); | |
mediator.emit('browserify.ready'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment