Skip to content

Commit

Permalink
It makes the test go green...
Browse files Browse the repository at this point in the history
  • Loading branch information
rtablada committed Jul 8, 2015
1 parent 13f7163 commit 0a3414c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ function serve (builder, options) {

console.log('Serving on http://' + options.host + ':' + options.port + '\n')

var server.watcher = options.watcher || new Watcher(builder, {verbose: true})
server.watcher = options.watcher || new Watcher(builder, {verbose: true})

var server.app = connect().use(middleware(server.watcher))
server.app = connect().use(middleware(server.watcher))

var server.http = http.createServer(server.app)
server.http = http.createServer(server.app)

// We register these so the 'exit' handler removing temp dirs is called
function cleanupAndExit() {
Expand Down

0 comments on commit 0a3414c

Please sign in to comment.