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

Allow Pre/Post Scripts through event hooks #2

Open
jrf0110 opened this issue Apr 8, 2015 · 0 comments
Open

Allow Pre/Post Scripts through event hooks #2

jrf0110 opened this issue Apr 8, 2015 · 0 comments

Comments

@jrf0110
Copy link
Member

jrf0110 commented Apr 8, 2015

Maybe if the user supplies a function argument to the before/after events, we should wait until they callback:

delta.on( 'before:delta', function( version, file, contents, done ){
  /* ... */
  done();
});

Once all handlers of that type have called back, then we can go ahead and run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant