diff --git a/npm/react/package.json b/npm/react/package.json index f01afacb805b..9d65019c2d04 100644 --- a/npm/react/package.json +++ b/npm/react/package.json @@ -13,7 +13,7 @@ "pretest": "yarn transpile", "test": "yarn cy:run", "transpile": "tsc", - "watch": "yarn build --watch" + "watch": "yarn build --watch --watch.exclude ./dist/**/*" }, "dependencies": { "@babel/plugin-transform-modules-commonjs": "7.12.1",