public static void main(String[] args) throws InterruptedException {
DynamicStringProperty property = DynamicPropertyFactory.getInstance().getStringProperty("prop", "test");
while (true) {
System.out.println(property.get());
Thread.sleep(2000);
}
}
This is my code in a very simple test file. When I manually change the property in the associated config.properties file, the changes do not reflect at runtime. Please advise if I am doing anything wrong?