From 5a36f8b4ed0d716ab03b017d65d2093bcda15e1e Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 28 Mar 2024 14:05:08 +0100 Subject: [PATCH] meta: fix `watch:*` scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b0128f3d64..232a5747d7 100644 --- a/package.json +++ b/package.json @@ -161,8 +161,8 @@ "uploadcdn": "yarn node ./bin/upload-to-cdn.js", "version": "yarn node ./bin/after-version-bump.js", "watch:css": "onchange 'packages/{@uppy/,}*/src/*.scss' --initial --verbose -- yarn run build:css", - "watch:js:bundle": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- yarn run build:bundle", - "watch:js:lib": "onchange 'packages/{@uppy/,}*/src/**/*.js' --initial --verbose -- yarn run build:lib", + "watch:js:bundle": "onchange 'packages/{@uppy/,}*/src/**/*.{js,ts,jsx,tsx}' --initial --verbose -- yarn run build:bundle", + "watch:js:lib": "onchange 'packages/{@uppy/,}*/src/**/*.{js,ts,jsx,tsx}' --initial --verbose -- yarn run build:lib", "watch:js": "npm-run-all --parallel watch:js:bundle watch:js:lib", "watch": "npm-run-all --parallel watch:css watch:js" },