mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-25 01:49:06 -05:00
87004e8bfa
Avoid async work and unhandled throws in exit and signal paths: the CLI now pre-fetches platform and uses a sync error formatter in the child exit handler, and the stdin error handler rejects the promise instead of throwing. Gulp’s signal handler is now synchronous (with sync process-tree kill on Windows), and watch mode exits when the Electron window is closed instead of leaving the gulp process running. Fixes crash reports and raw terminal output on Ctrl+C, spurious "failed spec" on runner close, and gulp not exiting in develop mode.