Support app.on. See https://github.com/angelozerr/tern-express/issues/3