substack/node-deputy — pull request #2 by domenic (2012-06-06 18:37:21+00:00)
Title: Use `fs.writeFileSync`.

This makes Browserify caching actually work (maybe a Windows-only fix?). Without it the cache.json file was always empty.

I am not sure exactly why it was necessary, but it is at least consistent with the rest of the file, which also uses `fs.*Sync` methods.