From f44a16489c0566570810a174f97614eff7699b74 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Mon, 19 Aug 2024 15:38:41 -0700 Subject: [PATCH] Watch protobuf changes in dev:transpile --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b52df1374..99d747026 100644 --- a/package.json +++ b/package.json @@ -65,10 +65,11 @@ "clean-transpile": "run-s clean-transpile-once clean-transpile-once", "ready": "npm-run-all --print-label clean-transpile generate --parallel lint lint-deps lint-intl test-node test-electron", "dev": "npm run build-protobuf && cross-env SIGNAL_ENV=storybook storybook dev --port 6006", - "dev:transpile": "run-p \"check:types -- --watch\" dev:esbuild dev:icu-types", + "dev:transpile": "run-p \"check:types -- --watch\" dev:esbuild dev:icu-types dev:protobuf", "dev:esbuild": "node scripts/esbuild.js --watch", "dev:sass": "npm run sass -- --watch", "dev:icu-types": "chokidar ./_locales/en/messages.json --initial --command \"npm run build:icu-types\"", + "dev:protobuf": "chokidar ./protos/**/*.proto --command \"npm run build-protobuf\"", "build:storybook": "npm run build-protobuf && cross-env SIGNAL_ENV=storybook storybook build", "test:storybook": "npm run build:storybook && run-p --race test:storybook:*", "test:storybook:serve": "http-server storybook-static --port 6006 --silent",