Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script e2e:open for Cypress not running dev server in development mode #814

Closed
chrisvfritz opened this issue Feb 9, 2018 · 0 comments
Closed

Comments

@chrisvfritz
Copy link
Contributor

What problem does this feature solve?

It seems like the development server run with the e2e:open script for Cypress is not running in development mode. While I think it would be useful to be able to run NODE_ENV=production yarn e2e:open for this behavior, I think the default should be development mode.

My reasoning is that I don't think the primary purpose of Cypress' GUI is to get insight into a problem that only happens in the production build, but rather as a development environment for TDD. For that more common use case, it's difficult to troubleshoot failing tests without dev features like detailed warnings from Vue.

What does the proposed API look like?

My proposal is just changing that script to run the dev server in development mode, switching to production mode only with NODE_ENV=production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant