Skip to content

Commit ab0eb98

Browse files
committed
🔨 Add watch command
1 parent 2a55e3b commit ab0eb98

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

package-lock.json

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"lint": "eslint ./src/",
88
"build": "node build.js",
9+
"watch": "watch 'npm run build' ./src/ ./example/ --interval=1",
910
"semantic-release": "semantic-release"
1011
},
1112
"repository": {
@@ -33,7 +34,8 @@
3334
"devDependencies": {
3435
"@betahuhn/config": "^1.0.2",
3536
"eslint": "^7.16.0",
36-
"rosid-handler-js": "^13.0.2"
37+
"rosid-handler-js": "^13.0.2",
38+
"watch": "^1.0.2"
3739
},
3840
"publishConfig": {
3941
"access": "public"

0 commit comments

Comments
 (0)