mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-18 13:26:00 -04:00
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:
20
apps/tauri/.taurignore
Normal file
20
apps/tauri/.taurignore
Normal 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/**
|
||||
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
},
|
||||
"assetProtocol": {
|
||||
"enable": true,
|
||||
"scope": ["$HOME/**"]
|
||||
"scope": ["$HOME/**", "/Volumes/**"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user