Skip to content

Commit

Permalink
Improved code style a little
Browse files Browse the repository at this point in the history
  • Loading branch information
leo committed Jun 24, 2017
1 parent 6ce4aed commit 4597bf6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bin/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,5 @@ detect(port).then(open => {
flags.open
]

server.listen(
port,
coroutine(function*() {
yield listening(...listenArgs)
})
)
server.listen(port, listening.bind(this, ...listenArgs))
})

0 comments on commit 4597bf6

Please sign in to comment.