From 9079fa476624a45f8f6db92924478201867cb3cb Mon Sep 17 00:00:00 2001 From: Palanikannan1437 <73993394+Palanikannan1437@users.noreply.github.com> Date: Fri, 22 Sep 2023 17:35:08 +0530 Subject: [PATCH] improved dev experience to build the tiptap package before starting dev server --- turbo.json | 5 ++++- web/package.json | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/turbo.json b/turbo.json index a1c240d9a..e7a4a08d5 100644 --- a/turbo.json +++ b/turbo.json @@ -40,7 +40,7 @@ "dist/**" ] }, - "web#dev": { + "web#develop": { "cache": false, "persistent": true, "dependsOn": [ @@ -59,6 +59,9 @@ "dev": { "cache": false }, + "develop": { + "cache": false + }, "start": { "cache": false }, diff --git a/web/package.json b/web/package.json index eab756c18..8e4629242 100644 --- a/web/package.json +++ b/web/package.json @@ -3,7 +3,8 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "next dev --port 3000", + "dev": "turbo run develop", + "develop": "next dev --port 3000", "build": "next build", "start": "next start", "lint": "next lint"