fix: call buildStart
hook in middleware mode
#3080
Merged
buildStart
hook in middleware mode
#3080