FogCreek/node-coffee-cache — pull request #5 by robmunro (2014-04-16 04:16:29+00:00)
Title: Added ability to specifiy root directory

This fixes issues when files are being required from a directory which is above ```__dirname```.

Resolving ```path.join(cacheDir, path.relative('.', filename))``` where ```cacheDir = '../.coffee/'``` and ```filename = '../common/example.js'``` = ```../common/example.js```

whereas we actually want ```../.coffee/common/example.js```