Skip to content

Commit

Permalink
fix(cli/fragments/yew): ignore src-tauri for trunk serve, closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Sep 5, 2022
1 parent c7175e8 commit d00f8b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/yew-ignore-src-tauri.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-tauri-app": patch
---

Fix yew template triggering trunk rebuilds when tauri files change.
3 changes: 3 additions & 0 deletions packages/cli/fragments/fragment-yew/Trunk.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[build]
target = "./index.html"

[watch]
ignore = ["./src-tauri"]

[serve]
address = "127.0.0.1"
port = 1420
Expand Down

0 comments on commit d00f8b5

Please sign in to comment.