Implement reloading automatically after changes are made