josephg / node-browserchannel

An implementation of a google browserchannel server in node.js
287 stars 47 forks source link

disable fs.watch when in production #18

Closed jfromaniello closed 11 years ago

jfromaniello commented 11 years ago

I have disabled fs.watch when NODE_ENV is production as explained in the comments this is only useful during development.

And it is giving me some problems when  deploying to azure.

josephg commented 11 years ago

Sorry it took me so long to get back to this. Thanks for the patch!