fix #848 refresh project after config file change