Implement routes refresh when file is modified.