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
Apparently the index.js is not written when using --servedir, but is overlayed in memory over the directory. Cool! Would probably be good to add that to the documentation of "Serve".
I am using esbuild for the first time, so I am not sure if this is a bug.
I am using esbuild version 0.18.15 with node v16.15.1 on macos 12.6.1. The command
starts a server, and leads to this output when changing
src/index.ts
repeatedly:But the file
web/index.js
is not generated!On the other hand, when I leave out
--serverdir=web
, then everything works as expected, andweb/index.js
gets generated.The text was updated successfully, but these errors were encountered: