adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.26k stars 7.63k forks source link

File List Not Being Updated After Addition of New Files to a Folder #6309

Closed adhithyan15 closed 10 years ago

adhithyan15 commented 10 years ago

First of all, I want to say that Brackets is super awesome and I really enjoy using it.

But I have been running into this problem for a while. I am learning Coffeescript. I will usually open a folder containing my Coffeescript files into brackets. Then I will compile one of the files using the terminal. But Brackets will not update the File List on the left hand side of the window to include the newly generated .js file. This is a big problem for me because I have to go back to the folder and drag the generated Javascript file into the folder to see the Javascript output. Is there anyway that you guys can fix this? I looked over all the Mac OS issues and couldn't find any issues relating to this problem.

Here is some information about my dev environment. I am running Mac OSX 10.9 and I use Brackets Sprint 34 (I will be updating to 35 soon).

redmunds commented 10 years ago

This is a known issue that we're working on. The workaround for now is pressing Cmd-R to refresh the tree.

peterflynn commented 10 years ago

Note: Cmd+R will reload Brackets (equivalent to quitting and re-launching). For a less disruptive workaround, use these steps:

  1. Either (a) stay in the Terminal until compilation is done, or (b) when compilation is done, briefly switch away from Brackets to a different app
  2. Switch back to Brackets
  3. Right-click in the tree and choose Refresh File Tree

This will not be needed starting with the next release of Brackets, Sprint 36 in January. Closing since this is already tracked as part of the sprint's "file watchers" work.