fix build stuff
This commit is contained in:
parent
881dd2d453
commit
72b61a2dd2
3 changed files with 5 additions and 5 deletions
2
dev
2
dev
|
@ -10,5 +10,5 @@ inotifywait --recursive --monitor --format "%e %w%f" \
|
||||||
--event modify,move,create,delete ./content ./layouts \
|
--event modify,move,create,delete ./content ./layouts \
|
||||||
| while read changed; do
|
| while read changed; do
|
||||||
echo $changed
|
echo $changed
|
||||||
eval "roxy_cli content dist"
|
eval "npm run build"
|
||||||
done
|
done
|
||||||
|
|
|
@ -3,9 +3,10 @@
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "./dev &",
|
"build": "roxy_cli content dist && ln -s $(realpath static) dist/static",
|
||||||
"dev": "npm run watch; wrangler pages dev --live-reload",
|
"watch": "./dev",
|
||||||
"deploy": "wrangler pages deploy --project-name kitsunecafe"
|
"dev": "npm run build && npm run watch & wrangler pages dev --live-reload && fg",
|
||||||
|
"deploy": "npm run build && wrangler pages deploy --project-name kitsunecafe"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
/home/rowan/Development/kitsu.cafe/static
|
|
Loading…
Reference in a new issue