I could be wrong but I don't think that these two callbacks ever actually get triggered. I don't see then mentioned anywhere in the esbuild-dev-server.js source as well.
port : "8080",
watchDir : "src",
index : "dist/index.html",
staticDir : "dist",
onBeforeRebuild : () => console.log("onBeforeRebuild"),
I could be wrong but I don't think that these two callbacks ever actually get triggered. I don't see then mentioned anywhere in the
esbuild-dev-server.js
source as well.