Issue by peterflynn
Tuesday Apr 01, 2014 at 23:40 GMT
Originally opened as adobe/brackets#7376
Fix bug #7300 -- ensure that FileSystem always knows we've read the JSON file before we try to write to it. We don't want to enable the 'blind' flag since it will mean we virtually always overwrite external changes to the prefs file, and we don't want to start using file watchers to observe external changes on the fly since we haven't yet deeply tested having multiple watch roots active at once (see #7375).
Also:
peterflynn included the following code: https://github.com/adobe/brackets/pull/7376/commits
Tuesday Apr 01, 2014 at 23:40 GMT
Originally opened as adobe/brackets#7376
Fix bug #7300 -- ensure that FileSystem always knows we've read the JSON file before we try to write to it. We don't want to enable the 'blind' flag since it will mean we virtually always overwrite external changes to the prefs file, and we don't want to start using file watchers to observe external changes on the fly since we haven't yet deeply tested having multiple watch roots active at once (see #7375).
Also:
peterflynn included the following code: https://github.com/adobe/brackets/pull/7376/commits