From 5a8a431da72e96b862c7e789581618a67308f7e5 Mon Sep 17 00:00:00 2001 From: Evert Bouw Date: Fri, 16 Feb 2024 13:33:43 +0100 Subject: [PATCH 1/2] turn off file watchers --- .changeset/moody-balloons-smile.md | 5 +++++ packages/integration/src/compiler.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/moody-balloons-smile.md diff --git a/.changeset/moody-balloons-smile.md b/.changeset/moody-balloons-smile.md new file mode 100644 index 000000000..d06f4fd1c --- /dev/null +++ b/.changeset/moody-balloons-smile.md @@ -0,0 +1,5 @@ +--- +'@vanilla-extract/integration': patch +--- + +turn off file watchers diff --git a/packages/integration/src/compiler.ts b/packages/integration/src/compiler.ts index 175c9901d..677a47c7a 100644 --- a/packages/integration/src/compiler.ts +++ b/packages/integration/src/compiler.ts @@ -61,6 +61,7 @@ const createViteServer = async ({ root, server: { hmr: false, + watch: null, }, logLevel: 'silent', optimizeDeps: { From f39c1b986259ef403338a06b96fd01b851c1251a Mon Sep 17 00:00:00 2001 From: Remus Mate <3297808+mrm007@users.noreply.github.com> Date: Mon, 19 Feb 2024 19:40:46 +1100 Subject: [PATCH 2/2] Update .changeset/moody-balloons-smile.md --- .changeset/moody-balloons-smile.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/moody-balloons-smile.md b/.changeset/moody-balloons-smile.md index d06f4fd1c..c79d464ef 100644 --- a/.changeset/moody-balloons-smile.md +++ b/.changeset/moody-balloons-smile.md @@ -2,4 +2,4 @@ '@vanilla-extract/integration': patch --- -turn off file watchers +Turn off file watchers in the vite-node compiler