fix build stuff

This commit is contained in:
Rowan 2024-12-01 01:26:38 -06:00
parent 881dd2d453
commit 72b61a2dd2
3 changed files with 5 additions and 5 deletions

2
dev
View file

@ -10,5 +10,5 @@ inotifywait --recursive --monitor --format "%e %w%f" \
--event modify,move,create,delete ./content ./layouts \
| while read changed; do
echo $changed
eval "roxy_cli content dist"
eval "npm run build"
done

View file

@ -3,9 +3,10 @@
"version": "1.0.0",
"main": "index.js",
"scripts": {
"watch": "./dev &",
"dev": "npm run watch; wrangler pages dev --live-reload",
"deploy": "wrangler pages deploy --project-name kitsunecafe"
"build": "roxy_cli content dist && ln -s $(realpath static) dist/static",
"watch": "./dev",
"dev": "npm run build && npm run watch & wrangler pages dev --live-reload && fg",
"deploy": "npm run build && wrangler pages deploy --project-name kitsunecafe"
},
"keywords": [],
"author": "",

View file

@ -1 +0,0 @@
/home/rowan/Development/kitsu.cafe/static