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

Consider adding 'custom hooks' #85

Open
vmadman opened this issue Aug 25, 2017 · 0 comments
Open

Consider adding 'custom hooks' #85

vmadman opened this issue Aug 25, 2017 · 0 comments

Comments

@vmadman
Copy link
Contributor

vmadman commented Aug 25, 2017

Although Grits plans to continue to improve upon its own post-processing mechanisms, and also offers a fairly easy way for users to create plugins that have "hooking logic", it might be useful to another hooking layer that allows users to tell Grits to run external executables/commands in response to certain events.

For example, the user might add a hook that attaches to the afterCopy operation for files matching a glob (images/thumbnails/**/*.png) that runs an external command (such as generate-sprite-map {parentDir}).

Additional Notes:

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

No branches or pull requests

1 participant