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
fix(@embark/cmd-controller): exit build if afterDeploy is not array
Before, `embark build` would wait at the end if there was an
afterDeploy, because there was no way with the old string and array
syntax to know when the commands were done.
Now, with the function syntax, we can wait for the end.
This way, we can exit the build at the end if it is a function
afterDeploy.
Otherwise, we show a message saying that they should update
engine.logger.info(__('Waiting for after deploy to finish...'));
347
+
engine.logger.info(__('Embark would exit automatically if you were using the function syntax in your afterDeploy instead of the Array syntax.'));
348
+
engine.logger.info(__('Find more information here: %s','https://framework.embarklabs.io/docs/contracts_configuration.html#afterDeploy-hook'.underline));
348
349
engine.logger.info(__('You can exit with CTRL+C when after deploy completes'));
0 commit comments