From 241aaac5fca224a0767362561d1e1f986f5c1c9f Mon Sep 17 00:00:00 2001 From: EGOIST <0x142857@gmail.com> Date: Sat, 30 Jul 2022 05:38:36 +0000 Subject: [PATCH] chore(docs): we can use shell script now --- docs/README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 0e4a7679c..ff8b62fdf 100644 --- a/docs/README.md +++ b/docs/README.md @@ -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