Open core-ai-bot opened 3 years ago
Comment by RaymondLim Tuesday May 20, 2014 at 17:37 GMT
@
cgcgbcbc If relaunch/reload Brackets, then you will see it in the symlink folder.
Comment by cgcgbcbc Tuesday May 20, 2014 at 17:56 GMT
If relaunch/reload Brackets
this is a painful walkaround...imagine I'm just starting a project using backbone, requirejs and qunit, then I need soft link my library in a test folder, and I run the test using live preview to see the test/index.html to figure out the test results. Live preview also breaks with symlink folder, thus any change to my library will not be realized by the test/index.html, and I need to reload Brackets as soon as I modify the library and want to see if it passes the test... I have found another walkaround..quick switch to another folder I opened before and switch back will also refresh the tree.
I wondered how it happens that two version of a same file exists in the editor..
Comment by peterflynn Wednesday Mar 04, 2015 at 22:50 GMT
You should be able to work around this now by right-clicking anywhere in the tree and selecting Refresh File Tree.
This is the expected behavior for now though -- Mac OS file watchers don't notify us of anything inside symlinks, so we'd have to serious restructure the file-watcher code resolve symlinks to their original location, set additional watchers on each of those, and then remap notifications back to the equivalent symlink path. Seems bigger than a simpler bug fix to me...
Issue by cgcgbcbc Tuesday May 20, 2014 at 16:39 GMT Originally opened as https://github.com/adobe/brackets/issues/7892
description
soft link of a directory will show in project panel tree view, any modification of the origin folder (create file, folder, modify file) will not appear in the linked directory
steps to trigger the problem
origin
in brackets, and create a soft link using shell.test.md
, make some change to it and save. Then refresh the file tree if you like (optional).version
Brackets version:sprint 38 experimental build 0.38.0-12606 (release 4df8afdad) OS version: os x 10.9.2