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 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.
Hi,
I am having trouble finding out the correct way to execute scripts before each build (without --watch) and before each
--watchrun.I tried
onBeforeBuild,onBuildStartandonWatchRunwhich seem to work, but they only run once with--watchand not on every watch run.onAfterDoneon the other hand always runs after each build with or without--watch.Is there an equivalent of
onAfterDoneto execute scripts before the build on each build and on each watch run?EDIT: I should add that I already tried
onBeforeBuildandonWatchRunwith the same scripts. The scripts do execute on the start of--watchbut not before/during every watch run.