Skip to content

feat: add config option for custom watch folders - #13881

Merged
Legend-Master merged 19 commits into
tauri-apps:devfrom
pepperoni505:custom-watch-folders
Jul 24, 2025
Merged

feat: add config option for custom watch folders#13881
Legend-Master merged 19 commits into
tauri-apps:devfrom
pepperoni505:custom-watch-folders

Conversation

@pepperoni505

Copy link
Copy Markdown
Contributor

This PR adds support to define custom watch folders for tauri dev. A new entry under build in config named watchFolders accepts an array of relative (or absolute) paths to watch

@pepperoni505
pepperoni505 requested a review from a team as a code owner July 23, 2025 16:06

@Legend-Master Legend-Master left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't look into it too much yet, just some early feedbacks:

Comment thread crates/tauri-utils/src/config.rs Outdated
Comment thread crates/tauri-utils/src/config.rs Outdated
@github-actions

github-actions Bot commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

Package Changes Through d2210bb

There are 3 changes which include tauri-cli with minor, @tauri-apps/cli with minor, tauri-utils with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-utils 2.6.0 2.7.0
tauri-bundler 2.5.2 2.5.3
tauri-runtime 2.7.1 2.7.2
tauri-runtime-wry 2.7.2 2.7.3
tauri-codegen 2.3.1 2.3.2
tauri-macros 2.3.2 2.3.3
tauri-plugin 2.3.1 2.3.2
tauri-build 2.3.1 2.3.2
tauri 2.7.0 2.7.1
@tauri-apps/cli 2.7.1 2.8.0
tauri-cli 2.7.1 2.8.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Comment thread crates/tauri-cli/src/interface/rust.rs Outdated
Comment thread crates/tauri-cli/src/interface/rust.rs
Comment thread crates/tauri-utils/src/config.rs Outdated

@Legend-Master Legend-Master left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread crates/tauri-cli/src/interface/rust.rs Outdated
Legend-Master
Legend-Master previously approved these changes Jul 24, 2025

@Legend-Master Legend-Master left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Just a nitpick

Comment thread crates/tauri-cli/src/interface/rust.rs Outdated
Comment thread .changes/additional-watch-folders.md Outdated
Legend-Master
Legend-Master previously approved these changes Jul 24, 2025

@Legend-Master Legend-Master left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Legend-Master
Legend-Master merged commit 91508c0 into tauri-apps:dev Jul 24, 2025
28 of 30 checks passed
@pepperoni505
pepperoni505 deleted the custom-watch-folders branch July 25, 2025 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants