Await resolving on 1st run unti bunde has made it to fs
Void of this, users running a spec for the 1st time would get a ENOENT error momentarily before before the preprocessor would emit 'rerun'. Users using watchForFileChanges: false would see said error until explicitly pressing rerun in the runner GUI.
The problem regarding watchForFileChanges: false is explained here, with an accompanying reproducible example.
This is fantastic work, @badeball. This has been a problem for a long time. Thanks so much for taking care of this.
I referenced your work here on the official Cypress repo as well: https://github.com/cypress-io/cypress/issues/27077
I hope you do not mind.
:tada: This PR is included in version 2.2.8 :tada:
The release is available on:
Your semantic-release bot :package::rocket: