grunt-express icon indicating copy to clipboard operation
grunt-express copied to clipboard

Object #<Object> has no method 'on'

Open puncha opened this issue 11 years ago • 0 comments

If I set the "server" property to an external JS file which only exposes two functions as document says: run and listen. Grunt will report such error.

So I think the document should be updated since we requires actually four functions:

  • run
  • listen
  • on
  • emit

puncha avatar Jan 28 '14 07:01 puncha