A Gulp watch is configured, and its function is to trigger browsersync reload when a file changes.
The problem is that if the new folder (mac new folder will initialize the folder named “unnamed folder”) is in the target folder, it will cause the gulp process to stop with a reproduction rate of 100%.
 11459 segmentation fault gulp
In order to catch exceptions, it was found that using uncaughtException in gulpfile file had a very low capture rate and only succeeded occasionally.
What exactly is the cause?