From 830ed2bcd840a22e3a4e18c7ea8dd425337a1a7b Mon Sep 17 00:00:00 2001 From: stefan-gorules <127550877+stefan-gorules@users.noreply.github.com> Date: Sun, 30 Jul 2023 16:22:36 +0200 Subject: [PATCH] chore: add nodejs watch command; (#66) --- bindings/nodejs/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/nodejs/package.json b/bindings/nodejs/package.json index d5f61d60..a1e66cee 100644 --- a/bindings/nodejs/package.json +++ b/bindings/nodejs/package.json @@ -73,6 +73,7 @@ "scripts": { "build": "napi build --platform --release --js index.js --dts index.d.ts", "build:debug": "napi build --platform --js index.js --dts index.d.ts", + "watch": "cargo watch --ignore '{index.js,index.d.ts}' -- npm run build:debug", "test": "jest", "artifacts": "napi artifacts -d ../../artifacts", "prepublishOnly": "napi prepublish",