lundi 13 août 2018

Possible to guarantee ember-cli addon hook run order?

Is there a document (or a test) that guarantees the run order of addon hooks?

I need to do work in both config and included, but they run in different orders depending on environment.

With ember serve it is config -> included -> config. But ember test runs them as included -> config.

I’m wondering if I rely on config running at least once after included if that will keep working.




Aucun commentaire:

Enregistrer un commentaire