If application doesn't define anything for drag and drop, then dropping a folder onto any piece of the application (that user can do occasionally) causes application crash. In development mode after crash the application screen is replaced with error message:
Failed to compile /Users/someuser/foldername: Can't stat /Users/someuser/foldername
Error: Can't stat /Users/someuser/foldername
at /Users/someuser/app_folder/node_modules/electron-compile/lib/file-change-cache.js:183:42
at Generator.next ()
at step (/Users/someuser/app_folder/node_modules/electron-compile/lib/file-change-cache.js:27:191)
at /Users/someuser/app_folder/node_modules/electron-compile/lib/file-change-cache.js:27:361
at
Absolutely the same crash happens if application uses drag&drap, but user dropped a folder outside of the defined drop zone.
If application doesn't define anything for drag and drop, then dropping a folder onto any piece of the application (that user can do occasionally) causes application crash. In development mode after crash the application screen is replaced with error message: Failed to compile /Users/someuser/foldername: Can't stat /Users/someuser/foldername Error: Can't stat /Users/someuser/foldername at /Users/someuser/app_folder/node_modules/electron-compile/lib/file-change-cache.js:183:42 at Generator.next ()
at step (/Users/someuser/app_folder/node_modules/electron-compile/lib/file-change-cache.js:27:191)
at /Users/someuser/app_folder/node_modules/electron-compile/lib/file-change-cache.js:27:361
at
Absolutely the same crash happens if application uses drag&drap, but user dropped a folder outside of the defined drop zone.
OS: MacOS 10.13.4 electron-compile version: 6.4.2