Detect Setting Change


#1

Is there a way to detect when a setting for a package has changed? Or some sort of method that is called?


#2

Is atom.config.observe(‘prop’, function(val){ … } ) the best way to do this?


#3

To my knowledge, yes.


#4

Seems to work ok either way, thanks!