PersistentStateComponent's loadState() method are not called when config files are externally changed with IDEA running.
I check the method loadState's javadoc.
* This method is called when new component state is loaded. The method can and will be called several times, if
* config files were externally changed while IDEA running.
* @param state loaded component state
after I modify the config file in notepad,the loadState were not called.
How can I call the loadSate explicitly when I monitor the config file is changed. e.g. after git pull
Please sign in to leave a comment.