```coffeescript
{spawn} = require 'child_process'

module.exports = (gulp) ->
  gulp.task 'build:webserver', ->
    node.kill() if node
    node = spawn "coffee", ["src/server", '--port', '8000'],
      stdio: "inherit"
    node.on "close", (code) ->
      switch code
        when 8
          gulp.log "Error detected, waiting for changes..."```

Tidy (looks easier to unterstand)
user
```coffeescript
{spawn} = require 'child_process'

module.exports = (gulp) ->
  gulp.task 'build:webserver', ->
    node.kill() if node
    node = spawn "coffee", 'src/server --port 8000 --env development'.split(' '),
      stdio: "inherit"
    node.on "close", (code) ->
      switch code
        when 8
          gulp.log "Error detected, waiting for changes..."```
assistant