Fix tailwind purging and improve HMR

This commit is contained in:
Louis Knight-Webb
2025-06-21 18:23:34 +01:00
parent 0f4765dcf8
commit fac265d40a
2 changed files with 16 additions and 2 deletions

View File

@@ -2,12 +2,12 @@
"name": "vibe-kanban",
"private": true,
"scripts": {
"dev": "concurrently \"cargo watch -x 'run --manifest-path backend/Cargo.toml'\" \"npm run frontend:dev\"",
"dev": "concurrently \"cargo watch -w backend -x 'run --manifest-path backend/Cargo.toml'\" \"npm run frontend:dev\"",
"build": "npm run frontend:build && cargo build --release --manifest-path backend/Cargo.toml",
"build:single": "npm run frontend:build && cargo build --release --manifest-path backend/Cargo.toml",
"frontend:dev": "cd frontend && npm run dev",
"frontend:build": "cd frontend && npm run build",
"backend:dev": "cargo watch -x 'run --manifest-path backend/Cargo.toml'",
"backend:dev": "cargo watch -w backend -x 'run --manifest-path backend/Cargo.toml'",
"backend:build": "cargo build --release --manifest-path backend/Cargo.toml",
"backend:run": "cargo run --manifest-path backend/Cargo.toml",
"backend:test": "cargo test --lib",