google/traceur-compiler — pull request #1551 by tuchk4 (2014-12-02 23:14:25+00:00)
Title: recursiveModuleCompileToSingleFile: chdir on reject

Make `process.chdir` to original dir if compilation if failed. For success result chdir revert already exists.

It need it you need to execute other scripts after traceur compilation. And if it is failed - dir should be changed to original.