Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
[Glass 3.7.21] Explorer shows empty folder after directory rename + .gitignore change (files exist on disk)
Steps to Reproduce
Steps to reproduce
A directory was fully ignored in .gitignore (e.g. test-data/)
Renamed it to demo-project/ and updated .gitignore:
Removed the whole-directory ignore
Ignored only generated paths:
demo-project/runs/*
!demo-project/runs/.gitkeep
demo-project/sources/repos/*
!demo-project/sources/repos/.gitkeep
git add committed tracked files under demo-project/benchmarks/** (22 files)
In Explorer (Glass), expand demo-project/benchmarks/
Expected Behavior
Explorer lists children such as fineract/, fineract-fast/, fineract-full/, score_expected_checks.py, etc.
Actual
demo-project/benchmarks/ appears empty in Explorer
Files exist on disk:
ls demo-project/benchmarks/
fineract fineract-fast fineract-full score_expected_checks.py …
Cmd+P → demo-project/benchmarks/fineract/train/items.json opens normally
Workarounds
Developer: Reload Window (sometimes works)
Re-open the workspace folder or restart Cursor
Impact
Common when migrating from a fully gitignored tree to a partially tracked layout. The UI looks broken even though data is intact.
Attachments (if possible)
Screenshot: empty benchmarks in Explorer
Screenshot: same path working via terminal / Quick Open
Developer Tools errors related to file watcher or git (if any)
Operating System
MacOS
Version Information
Environment
Item Value
Cursor
3.7.21 (Stable, Default)
VS Code Extension API
1.105.1
Commit
517f696d8ab6c53eb04fbfdaae705cd146bf3460
Build Date
2026-06-07T21:46:09.237Z
Layout
glass
Electron
39.8.1 / Chromium 142.0.7444.265 / Node 22.22.1
OS
Darwin arm64 25.5.0
Does this stop you from using Cursor
No - Cursor works, but with this issue