         fs.readdir source, (err, files) ->
           throw err if err
           files = files.map (file) -> path.join source, file
-          for file in files when not notSources[file] 
+          for file in files when not notSources[file]
             continue if sources.some (s) -> s.indexOf(file) >= 0
             sources.push file
             sourceCode.push null

        toRemove = (file for file in sources when file.indexOf(source) >= 0)
        removeSource file, base, yes for file in toRemove
        compileJoin()
        
# Remove a file from our source list, and source code cache. Optionally remove
# the compiled JS version as well.
removeSource = (source, base, removeJs) ->

    jsPath = outputPath source, base
    path.exists jsPath, (exists) ->
      if exists
        fs.unlink jsPath, (err) ->
          throw err if err
          timeLog "removed #{source}"

# Get the corresponding output JavaScript path for a source file.
outputPath = (source, base) ->
  filename  = path.basename(source, path.extname(source)) + '.js'
