I don't know how describe my problem correctly. When I use tsup in watch mode, then use onSuccess
to trigger something, it's works on linux but on windows the behavior is strange. This is the script I run
tsup --watch --onSuccess 'node dist/main.js'
On linux, the behaviour is correct, but on windows, node dist/main.js
run before tsup finishing bundling so it will throw error that dist/main.js
doesn't exist. Did I miss something?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too