blai / grunt-express

Start an Express.js web server using grunt.js
MIT License
254 stars 41 forks source link

Object #<Object> has no method 'on' #46

Open puncha opened 10 years ago

puncha commented 10 years ago

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: