jspm_packages/npm/babel-core@5.8.38/lib/api/register/cache.js
function load() {
  if (process.env.BABEL_DISABLE_CACHE) return;

  process.on("exit", save);
  process.nextTick(save);

  if (!_pathExists2["default"].sync(FILENAME)) return;

  try {
    data = JSON.parse(_fs2["default"].readFileSync(FILENAME));
  } catch (err) {
    return;
  }
}
function load() {
  if (process.env.BABEL_DISABLE_CACHE) return;

  process.on("exit", save);
  process.nextTick(save);

  if (!_pathExists2["default"].sync(FILENAME)) return;

  try {
    data = JSON.parse(_fs2["default"].readFileSync(FILENAME));
  } catch (err) {
    return;
  }
}
function load ( ) { if ( process . env . BABEL_DISABLE_CACHE ) return ; process . on ( "exit" , save ) ; process . nextTick ( save ) ; if ( ! _pathExists2 [ "default" ] . sync ( FILENAME ) ) return ; try { data = JSON . parse ( _fs2 [ "default" ] . readFileSync ( FILENAME ) ) ; } catch ( err ) { return ; } }
Load cache from disk and parse.
Load cache from disk and parse .