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" },