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
the config hook in yarn build --watch mode gets only triggered on the first start.
so any builds triggered by the actual watch does not get a new BUILD_DATE.
i did not find any info / how to access the config from within the buildStart Hook.
maybe i am missing something obvious ore it is just not possible this way.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
my goal is to have a simple BUILD_DATE define that updates on
buildStart
.if i do something like this:
the
config
hook inyarn build --watch
mode gets only triggered on the first start.so any builds triggered by the actual watch does not get a new
BUILD_DATE
.i did not find any info / how to access the config from within the
buildStart
Hook.maybe i am missing something obvious ore it is just not possible this way.
i am open for any tips and hints :-)
Beta Was this translation helpful? Give feedback.
All reactions