From eda2790dc3b3b94170de740bab03a01663d5cb5a Mon Sep 17 00:00:00 2001 From: T-Damer Date: Fri, 7 Jan 2022 12:48:35 +0300 Subject: [PATCH] prestart wont run --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 77f4b3f..a047bf4 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,7 @@ "description": "Discord bot template, built with Discord.js and TypeScript", "main": "dist/index.js", "scripts": { - "start": "node dist/index.js", - "prestart": "yarn build-ts", + "start": "yarn build-ts && node dist/index.js", "develop": "yarn build-ts && tsc-watch --skipLibCheck --onSuccess 'node dist/index.js'", "build-ts": "tsc --skipLibCheck", "pretty": "prettier --check src",