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
I am having trouble finding out the correct way to execute scripts before each build (without --watch) andbefore each --watch run.
I tried onBeforeBuild, onBuildStart and onWatchRun which seem to work, but they only run once with --watch and not on every watch run. onAfterDone on the other hand always runs after each build with or without --watch.
Is there an equivalent of onAfterDone to execute scripts before the build on each build and on each watch run?
EDIT: I should add that I already tried onBeforeBuild and onWatchRun with the same scripts. The scripts do execute on the start of --watch but not before/during every watch run.
The text was updated successfully, but these errors were encountered:
Hi,
I am having trouble finding out the correct way to execute scripts before each build (without --watch) and before each
--watch
run.I tried
onBeforeBuild
,onBuildStart
andonWatchRun
which seem to work, but they only run once with--watch
and not on every watch run.onAfterDone
on the other hand always runs after each build with or without--watch
.Is there an equivalent of
onAfterDone
to execute scripts before the build on each build and on each watch run?EDIT: I should add that I already tried
onBeforeBuild
andonWatchRun
with the same scripts. The scripts do execute on the start of--watch
but not before/during every watch run.The text was updated successfully, but these errors were encountered: