     fs.writeFileSync files.config, config
 
   afterEach ->
-    clear_cache()    
+    mods = [
+      '../../lib/utils/plugins'
+      '../../lib/core/compiler'
+      '../../lib/core/file'
+      '../../lib/core/files'
+      '../../lib/core/server'
+    ]
+
+    for m in mods
+      mod = require.resolve m
+      delete require.cache[mod]
 
   after ->
     fs.unlinkSync files.config if fs.existsSync files.config

fs = require 'fs'
path = require 'path'

polvo = require '../../lib/polvo'


        outs++
        checker.test(msg).should.be.true

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

