fixed a bug which crashes gulp-connect when some file updated