Falldot / esbuild-dev-server

This plugin allows you to start a local server with hot reloading with Esbuild

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

onBeforeRebuild and onAfterRebuild never trigger

joeworkman opened this issue · 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"),
commented

Same here, never happen