Store compile cache in ~/.atom/compile-cache

This commit is contained in:
Kevin Sawicki 2014-04-23 10:59:23 -07:00
parent 1f31918373
commit f8727ffa6f
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ CoffeeScript = require 'coffee-script'
CSON = require 'season'
fs = require 'fs-plus'
cacheDir = path.join(fs.getHomeDirectory(), 'compile-cache')
cacheDir = path.join(fs.absolute('~/.atom'), 'compile-cache')
coffeeCacheDir = path.join(cacheDir, 'coffee')
CSON.setCacheDir(path.join(cacheDir, 'cson'))

View File

@ -8,7 +8,7 @@ module.exports =
class LessCompileCache
Subscriber.includeInto(this)
@cacheDir: path.join(fs.getHomeDirectory(), 'compile-cache', 'less')
@cacheDir: path.join(atom.getConfigDirPath(), 'compile-cache', 'less')
constructor: ({resourcePath, importPaths}) ->
@lessSearchPaths = [