Setup the context by site, do not pass the stack if wasn't specified. Leave a door open in case its needed using site.context to check before assignment.
Sharing the stack object shouldn't be business of the sites but the stack handlers. This keeps things separated.
This basically serves as an use-case for gulp-runtime but I really think is a good separation of concerns here.
Setup the context by site, do not pass the stack if wasn't specified. Leave a door open in case its needed using
site.context
to check before assignment.Sharing the stack object shouldn't be business of the sites but the stack handlers. This keeps things separated.
This basically serves as an use-case for
gulp-runtime
but I really think is a good separation of concerns here.