feat: add .taurignore file and enhance package.json scripts

- Created a new .taurignore file to specify ignored directories for Tauri app changes, improving build efficiency.
- Added a new script "tauri:dev:no-watch" to package.json for running the Tauri development server without file watching, providing more flexibility during development.
- Updated assetProtocol scope in tauri.conf.json to include "/Volumes/**", enhancing asset handling for mounted volumes.
This commit is contained in:
Jamie Pine
2025-11-19 01:53:26 -08:00
parent 08912e141e
commit a4e8ed1cbb
3 changed files with 22 additions and 1 deletions

20
apps/tauri/.taurignore Normal file
View File

@@ -0,0 +1,20 @@
# Ignore core changes - only reload for tauri app changes
../../core/**
../../crates/**
../../target/**
../../extensions/**
# Ignore other apps
../cli/**
../ios/**
../macos/**
../landing/**
# Ignore workbench and docs
../../workbench/**
../../docs/**
# Ignore test files
../../test_snapshots/**

View File

@@ -16,6 +16,7 @@
"typecheck": "tsc -b",
"tauri": "bunx tauri",
"tauri:dev": "bunx tauri dev",
"tauri:dev:no-watch": "bunx tauri dev --no-watch",
"tauri:build": "bunx tauri build"
},
"dependencies": {

View File

@@ -42,7 +42,7 @@
},
"assetProtocol": {
"enable": true,
"scope": ["$HOME/**"]
"scope": ["$HOME/**", "/Volumes/**"]
}
}
},