   specsPackage: ->
     specs.createPackage(@options.specs)
 
-module.exports = Hem+module.exports = Hem

    strata.map @options.jsPath, (app) =>
      app.run @hemPackage().createServer()

    if path.existsSync(@options.specs)
      strata.map @options.specsPath, (app) =>
        app.run @specsPackage().createServer()

    if path.existsSync(@options.testPublic)
      strata.map @options.testPath, (app) =>
        app.use(strata.file, @options.testPublic, ['index.html', 'index.htm'])

    if path.existsSync(@options.public)
      strata.use(strata.file, @options.public, ['index.html', 'index.htm'])

    strata.run(port: @options.port)

  watch: ->
    @build()
    for dir in (path.dirname(lib) for lib in @options.libs).concat @options.css, @options.paths
      continue unless fs.existsSync(dir)
      require('watch').watchTree dir, (file, curr, prev) =>
        if curr and (curr.nlink is 0 or +curr.mtime isnt +prev?.mtime)
          console.log "#{file} changed.  Rebuilding."
