From 4732937fc808267c68ee790b8411ca241c2ca2e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barth=C3=A9l=C3=A9my=20Ledoux?= Date: Wed, 17 Feb 2021 15:49:54 -0600 Subject: [PATCH] build: avoid infininte rollup refresh on watch (#15132) 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",