Skip to content

Instantly share code, notes, and snippets.

@aradnom
Created September 19, 2015 00:27
Show Gist options
  • Save aradnom/d99e5a18cff9eae9fa07 to your computer and use it in GitHub Desktop.
Save aradnom/d99e5a18cff9eae9fa07 to your computer and use it in GitHub Desktop.
Sails.js default hooks - list of all hooks packaged by default with Sails.js
Loaded hooks (in the order they are loaded):
hook:moduleloader:loaded
hook:userconfig:loaded
hook:userhooks:loaded
hook:logger:loaded
hook:request:loaded
hook:blueprints:loaded
hook:responses:loaded
hook:controllers:loaded
hook:policies:loaded
hook:services:loaded
hook:csrf:loaded
hook:cors:loaded
hook:i18n:loaded
hook:session:loaded
hook:grunt:loaded
hook:sockets:loaded
hook:http:loaded
hook:views:loaded
hook:pubsub:loaded
hook:orm:loaded
Other hooks (not in any particular order):
hook:grunt:error
hook:grunt:done
hook:policies:bound
hook:http:listening
hook:orm:reload
hook:orm:reloaded
hook:pubsub:reloaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment