You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my application's build process, I have the following tasks:
compile - compiles coffeescript, stylus, etc.
smoosh - smooshes everything
deploy - deploys resources to the right places
As far as I can tell, smoosh doesn't have any sort of callbacks. This means I cannot detect when smoosh has finished so that I can start the deploy task.
What am I missing? The commands can be chained and run in sequence, so internally it must be running synchronously or using callbacks. Could these callbacks be exposed? Or could a new chained function be created, maybe after() or finished():
smoosh.after(functin() {})
I've tried the following to see if it is synchronous, and the text "Smoosh Done" prints before the smoosh output:
In my application's build process, I have the following tasks:
As far as I can tell, smoosh doesn't have any sort of callbacks. This means I cannot detect when smoosh has finished so that I can start the deploy task.
What am I missing? The commands can be chained and run in sequence, so internally it must be running synchronously or using callbacks. Could these callbacks be exposed? Or could a new chained function be created, maybe
after()
orfinished()
:I've tried the following to see if it is synchronous, and the text "Smoosh Done" prints before the smoosh output:
As a workaround, I'm doing this (in coffee-script):
The text was updated successfully, but these errors were encountered: