-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(cmd/gf): improve gf run watching #4573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
4534eb1
feat(cmd/gf): 为`gf run`命令添加忽略路径功能,支持`-i`参数过滤不需要监听的文件
hailaz 4c8780f
refactor(cmd/gf): 优化`gf run`命令的监听路径和忽略模式处理逻辑
hailaz e08c29b
fix(cmd/gf): 修正测试用例中`getWatchPaths`方法的断言逻辑
hailaz 650de6f
refactor(cmd/gf): 优化`gf run`命令的路径处理逻辑,添加默认忽略模式说明
hailaz 4f008f0
refactor(cmd/gf): 移除未使用的数据库驱动依赖
hailaz db7d9d7
refactor(cmd/gf): 将`getWatchPaths`方法从BFS改为DFS实现,优化目录监听逻辑并添加相关测试用例
hailaz e10ec87
Apply gci import order changes
github-actions[bot] 6c5d37f
refactor(cmd/gf): 优化目录监听逻辑,支持递归和非递归监控模式
hailaz eb7742f
Merge branch 'feat/gfrun' of github.com:gogf/gf into feat/gfrun
hailaz 0d8cd5f
refactor(cmd/gf): 优化目录监听逻辑,使用深度优先搜索检测被忽略的子目录并提升性能
hailaz b25abdc
refactor(cmd/gf): 重构目录监听逻辑,优化忽略模式匹配并提升文件监听性能
hailaz cd9133e
Merge branch 'master' into feat/gfrun
houseme File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.