cypress-esbuild-preprocessor icon indicating copy to clipboard operation
cypress-esbuild-preprocessor copied to clipboard

Await resolving on 1st run unti bunde has made it to fs

Open badeball opened this issue 1 month ago • 1 comments

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.

badeball avatar Nov 03 '25 14:11 badeball

The problem regarding watchForFileChanges: false is explained here, with an accompanying reproducible example.

badeball avatar Nov 03 '25 14:11 badeball

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.

aldefouw avatar Dec 01 '25 22:12 aldefouw

:tada: This PR is included in version 2.2.8 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Dec 02 '25 19:12 github-actions[bot]