From c5de925c6d1bc6a81f318b4473e9882f74160599 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sat, 27 Jun 2015 22:47:31 +0200 Subject: Just one write for each generation page --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'package.json') 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/" } } -- cgit v1.2.3