Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.369 kB
{spawn, exec} = require 'child_process'
print = (data) -> console.log data.toString()
option '-p', '--port [PORT]', 'run server with given port'
task 'server', 'Start application server', (options) ->
port = options.port or 3000
server = spawn 'coffee', ['server.coffee'], { env: {PORT: port } }
server.stdout.on 'data', print
server.stderr.on 'data', print
Jump to Line
Something went wrong with that request. Please try again.