esbuild-dev-server icon indicating copy to clipboard operation
esbuild-dev-server copied to clipboard

onBeforeRebuild and onAfterRebuild never trigger

Open joeworkman opened this issue 3 years ago • 1 comments

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"),

joeworkman avatar Dec 21 '21 06:12 joeworkman

Same here, never happen

julenr avatar Jan 20 '22 00:01 julenr