     watcher.on 'error', (error) ->
       logging.error "Error occurred while watching files: #{error}"
 
-  start: ->
+  start: =>
     child = exports.child
     if child
       child.shouldRestart = true


  start: ->
    console.log 'Starting Google App Engine development server...'
    spawn 'dev_appserver.py', ['server'], {stdio: 'inherit'}


# Public interface

      child = exports.child = spawn 'node', ['server/server.js'], {stdio: 'inherit', cwd: process.cwd()}
      child.shouldRestart = false

      # child.stdout.on 'data', (data) ->
      #   console.log data.toString()
      #   reloadBrowser() if /Quit the server with CONTROL-C/.test(data.toString())

      # child.stderr.on 'data', (data) ->
      #   if data.toString().length > 1
      #     logging.error data

      child.on 'exit', (code) =>
        exports.child = null
        if child.shouldRestart
          # Restart the server when files change
