Don't require compile cache in main process

This commit is contained in:
Max Brunsfeld
2018-08-24 11:19:22 -07:00
parent ce18e1b7d6
commit d875a0db89

View File

@@ -43,7 +43,6 @@ module.exports = function start (resourcePath, devResourcePath, startTime) {
atomPaths.setAtomHome(app.getPath('home'))
atomPaths.setUserData(app)
setupCompileCache()
const config = getConfig()
const colorProfile = config.get('core.colorProfile')
@@ -104,12 +103,6 @@ function handleStartupEventWithSquirrel () {
return SquirrelUpdate.handleStartupEvent(app, squirrelCommand)
}
function setupCompileCache () {
const CompileCache = require('../compile-cache')
CompileCache.setAtomHomeDirectory(process.env.ATOM_HOME)
CompileCache.install(process.resourcesPath, require)
}
function getConfig () {
const config = new Config()