aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 4 insertions, 3 deletions
diff --git a/package.json b/package.json
index f39d16f..f1dbeab 100644
--- a/package.json
+++ b/package.json
@@ -15,9 +15,10 @@
},
"scripts": {
- "build": "./gen.sh",
- "watch": "watch ./gen.sh ./Markdown ./Fragments & npm run serve",
+ "build": "npm run clean && ./gen.sh",
+ "watch": "npm run clean && watch ./gen.sh ./Markdown ./Fragments & npm run serve",
"serve": "npm run kill-server && http-server -p 8000 makeup",
- "kill-server": "fuser -k 8000/tcp || true"
+ "kill-server": "fuser -k 8000/tcp || true",
+ "clean": "rm -rf Page/"
}
}