       err:(msg) -> errors++
       nocolor: true
 
-    fs.writeFileSync files.pack, pack
-    backup = fs.readFileSync files.app
+    fs.writeFileSync basic_files.basic_pack, basic_pack
+    backup = fs.readFileSync basic_files.app
 
     polvo = require '../../lib/polvo'
     server = polvo options, stdio
        outs++
        checker.test(msg).should.be.true

    fs.writeFileSync files.pack, pack
    compile = polvo options, stdio

    outs.should.equal 2

      delete require.cache[mod]

  after ->
    fs.unlinkSync basic_files.basic_config if fs.existsSync basic_files.basic_config
    fs.unlinkSync basic_files.basic_pack if fs.existsSync basic_files.basic_pack
    fs.unlinkSync basic_files.js if fs.existsSync basic_files.js
    fs.unlinkSync basic_files.css if fs.existsSync basic_files.css


  it 'should alert about no `package.json` file plugins during compile', ->
    errors = outs = 0
    checker = /^info app doesn't have a `package.json`/m

    options = compile: true, base: basic
    stdio = 
      nocolor: true
      err:(msg)-> errors++
