From 9a6017832093ec771d47f9dedae907783689e30a Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 14 Oct 2023 17:06:44 +0800 Subject: added watch option to js(babel) --- package.json | 1 + 1 file changed, 1 insertion(+) (limited to 'package.json') diff --git a/package.json b/package.json index 256da777..b72eb2f4 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "build:css": "postcss src/css/* --dir dest/css", "watch:css": "postcss src/css/* --dir dest/css --watch", "build:js": "babel src/js/* --out-dir dest/js", + "watch:js": "babel src/js/* --out-dir dest/js --watch", "dev": "./launch.sh", "check": "./launch.sh check" }, -- cgit v1.2.3