hyrious/esbuild-dev

Thank you!

Sheraff opened this issue · 0 comments

Not an issue, but just to say thank you for this package, I haven't found anything else that did everything I needed and this works super well!

Just in case if you're curious, I'm trying to make a fullstack project starter I enjoy (https://github.com/Sheraff/root) and I have this use case for the dev mode of the backend

esbuild-dev
  --watch
  --platform=node
  --target=node20
  --format=esm
  --sourcemap
  --allow-overwrite
  --packages=external
  --keep-names
  --loader:.sql=text 
  ./server/src/app.ts

The important part is the --loader, i tried nodemon, ts-node, ts-node-dev, tsx, ... None worked, either because they are themselves a loader and I couldn't inject one myself, or they just don't accept all the arguments I need.