From 8b1507e0b73298b02a8ce6d2023d8a82d305d25d Mon Sep 17 00:00:00 2001 From: Valentin Degenne Date: Wed, 28 Jun 2023 20:18:37 +0200 Subject: [PATCH 1/2] fix: wireit sass watch memory leak --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 42e0d31cfd..13ed214c78 100644 --- a/package.json +++ b/package.json @@ -98,9 +98,10 @@ ] }, "build:sass": { - "command": "sass --style=compressed --load-path=node_modules --load-path=node_modules/sass-true/sass $(ls -d */ | grep -v node_modules)", + "command": "sass --style=compressed --load-path=node_modules --load-path=node_modules/sass-true/sass $(ls -d */ | grep -v node_modules | grep -v catalog)", "files": [ - "**/*.scss" + "**/*.scss", + "!catalog" ], "output": [ "**/*.css", From 2ff72162d74097964e08ed66d86556e657ebb2a9 Mon Sep 17 00:00:00 2001 From: Valentin Degenne Date: Wed, 28 Jun 2023 21:03:21 +0200 Subject: [PATCH 2/2] cleaner version of grep --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 13ed214c78..7ce0ed02af 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ ] }, "build:sass": { - "command": "sass --style=compressed --load-path=node_modules --load-path=node_modules/sass-true/sass $(ls -d */ | grep -v node_modules | grep -v catalog)", + "command": "sass --style=compressed --load-path=node_modules --load-path=node_modules/sass-true/sass $(ls -d */ | grep -vE 'node_modules|catalog')", "files": [ "**/*.scss", "!catalog"