From 5135fe9555859f244a73a88b46c54eb3b0ceb50c Mon Sep 17 00:00:00 2001 From: ElevateBart Date: Wed, 17 Feb 2021 14:16:01 -0600 Subject: [PATCH] build: avoid infininte rollup refresh on watch exclude the dist folder from rollup watch --- npm/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",