Today encountered a super wonderful problem, using Gulp.watch monitoring file changes, but did not modify the file, but always perform the change, resulting in unlimited browser refresh
Commissioning for 10 hours, the code of various deletions, has not been its solution. Switching to Windows running, and normal, is not a Mac system problem. But in a logical case, Mac is a better computer for programmers, and there is no such problem.
Delete node, use NVM to install different versions of node to test, the problem is still
Debugging to the early morning, suddenly a flash, think of Mac can't write NTFS disk format, so installed a Tuxera NTFS, is this problem.
And then copy the project to the MAC system disk directory, a run, sure enough, it is normal ...
But I put the directory is not NTFS Ah, is the FAT32 format, Mac and Windows can be used correctly, so the final problem is solved, but what is not found, it may be related to Tuxera NTFS ...
But in the future still put the project into the MAC system disk, the egg hurt me ...
Gulp Infinite Refresh problem on Mac due to disk format