substack/watchify — pull request #19 by hughsk (2014-01-30 01:45:51+00:00)
Title: Copy queued deps

JSON files were being modified after the `dep` event to prepend `module.exports=` to the file. This would result in watchify prepending `module.exports` to JSON files twice, which in turn would break certain bundles.

This fixes #18. Thanks!