Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lifecycle for execution after all the plugins and routes are configured #97

Open
pragmaticivan opened this issue Aug 22, 2017 · 0 comments

Comments

@pragmaticivan
Copy link
Contributor

pragmaticivan commented Aug 22, 2017

Problem:

The only way to setup a middleware that performs after the routes are loaded is defining the file to be processed by the end in the glob.

It's not easy for example to setup an error middleware to ignore the one provided by magnet.

Add lifecycle after this line: https://github.com/wedeploy/magnet/blob/master/src/magnet.js#L498

Suggestions:

loaded.js
ready.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant