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
Ideally I would like to add a file watch for tsup but it doesn't accept any files if I read docs correctly.
I have dev command "dev": "NODE_ENV=development tsup --config=tsup.config.ts --watch --onSuccess 'node dist/server.js | pino-pretty'",
I would like to re-run tsup on .env file changes. Can this be done without any extra third party packages like nodemon or watch ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Ideally I would like to add a file watch for tsup but it doesn't accept any files if I read docs correctly.
I have dev command
"dev": "NODE_ENV=development tsup --config=tsup.config.ts --watch --onSuccess 'node dist/server.js | pino-pretty'",
I would like to re-run tsup on .env file changes. Can this be done without any extra third party packages like nodemon or watch ?
Beta Was this translation helpful? Give feedback.
All reactions