m0j0r1s1ng/brackets-kitchen-sink — pull request #1 by dangoor (2014-04-07 14:03:42+00:00)
Title: Adjust preference handling for best practice

By listening for prefs changes, you can properly handle the user manually changing their prefs file (or the possibility of the pref changing values when changing projects). There also becomes no reason to store the pref value in a local variable (unless you really need to know whether the value has changed).