enhencment: auto reload with checking file finished uploading and syntax checking #1239