mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 05:18:19 +00:00
Don't watch frontend files when using tauri
This commit is contained in:
parent
b74489d828
commit
32dbe606f2
3 changed files with 3 additions and 2 deletions
0
frontend/dist/.git-keep-directory
vendored
0
frontend/dist/.git-keep-directory
vendored
|
@ -5,6 +5,7 @@
|
|||
"author": "Graphite Authors <contact@graphite.rs>",
|
||||
"scripts": {
|
||||
"dev": "cargo watch -s \"wasm-pack build frontend/wasm --dev\" & vite || kill $!",
|
||||
"tauri:dev": "vite",
|
||||
"build": "npm run build-wasm && vite build || (npm run print-building-help && exit 1)",
|
||||
"lint": "eslint src || (npm run print-linting-help && exit 1)",
|
||||
"build-wasm": "wasm-pack build ./wasm --release",
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
|
||||
"build": {
|
||||
"beforeBuildCommand": "npm run build",
|
||||
"beforeDevCommand": "npm start",
|
||||
"beforeDevCommand": "npm run tauri:dev",
|
||||
"distDir": "../dist",
|
||||
"devPath": "http://127.0.0.1:8080"
|
||||
"devPath": "http://127.0.0.1:5173/"
|
||||
},
|
||||
"package": {
|
||||
"productName": "graphite-tauri",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue