Skip to content

Commit

Permalink
chore(docs): we can use shell script now
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jul 30, 2022
1 parent 64deb61 commit 241aaac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,6 @@ You can specify command to be executed after a successful build, specially usefu
tsup src/index.ts --watch --onSuccess "node dist/index.js"
```
> Warning: You should not use shell scripts, if you need to specify shell scripts you can add it in your "scripts" field and set for example `tsup src/index.ts --watch --onSuccess \"npm run dev\"`

`onSuccess` can also be a `function` that returns `Promise`. For this to work, you need to use `tsup.config.ts` instead of the cli flag:
```ts
Expand Down

1 comment on commit 241aaac

@vercel
Copy link

@vercel vercel bot commented on 241aaac Jul 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tsup – ./

tsup-egoist.vercel.app
tsup.vercel.app
tsup-git-main-egoist.vercel.app
tsup.egoist.sh

Please sign in to comment.