Skip to content

Commit 63f2ad6

Browse files
ayoung5555faizanbhagat
authored andcommitted
fix: file tree does not refresh automatically
Co-authored-by: Andrew Young <[email protected]> Co-authored-by: Faizan Bhagat <[email protected]>
1 parent 54c557c commit 63f2ad6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/brackets.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,9 @@ define(function (require, exports, module) {
447447
// This call to syncOpenDocuments() *should* be a no-op now that we have
448448
// file watchers, but is still here as a safety net.
449449
FileSyncManager.syncOpenDocuments();
450+
// This call to refreshFileTree() refreshes the project tree when the window comes back into focus
451+
// If any changes are made outside of Phoenix Code, they will be updated when the user returns
452+
ProjectManager.refreshFileTree();
450453
});
451454

452455
// Prevent unhandled middle button clicks from triggering native behavior

0 commit comments

Comments
 (0)