From 07f07fc3d3e166bceb1219adb08beda31a8d72fe Mon Sep 17 00:00:00 2001 From: Snorre Eskeland Brekke Date: Thu, 3 Nov 2022 23:52:50 +0100 Subject: [PATCH] fix: also link-watch ts files by default --- src/actions/link-watch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/link-watch.ts b/src/actions/link-watch.ts index 19b980b9..6eeb8aa9 100644 --- a/src/actions/link-watch.ts +++ b/src/actions/link-watch.ts @@ -44,7 +44,7 @@ export async function linkWatch({basePath}: {basePath: string}) { const watch: Required = { folder: 'lib', command: 'npm run watch', - extensions: 'js,png,svg,gif,jpeg,css', + extensions: 'ts,js,png,svg,gif,jpeg,css', ...packageJson.sanityPlugin?.linkWatch, }