diff options
author | Joris Guyonvarch | 2015-06-27 22:47:31 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-06-27 22:47:31 +0200 |
commit | c5de925c6d1bc6a81f318b4473e9882f74160599 (patch) | |
tree | 4a04fe3e8391ae06ad46c306aa68e6213f675b97 /package.json | |
parent | 3ff7b48ed41e1d49c18388403a85c6d1debf8bb3 (diff) |
Just one write for each generation page
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 7 |
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/" } } |