-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Replace e2e:open script with dev:e2e when Cypress is installed #878
Comments
I have to agree. The dev mode is, to me, more useful. I'd still keep the old open script around as it is useful to debug sporadic issues with "prod-like" code |
So I think this is better done by exposing a single |
@yyx990803 That works for me! 🙂 However, it still doesn't address the core development/production mode issue. Maybe the default mode for But then when specifying What do you think? |
I think it's more confusing to have different default modes depending on another flag. So with the latest changes you can just do I prefer to keep the naming consistent, so no |
Something unique about Cypress is that it's not just a test framework, but also offers a nice development environment. The plugin for Cypress currently comes with an
e2e:open
script for running the Cypress client:But it serves in production mode, which I only prefer when debugging the very rare production-only issue. This also defeats what I feel is the primary purpose of the client: to facilitate development, whether you're writing new tests alongside or not.
For that reason, I've replaced it with a
dev:e2e
script in vue-enterprise-boilerplate:A few advantages I'm thinking of:
dev:e2e
instead ofe2e:open
ore2e:dev
) highlights it as a vital tool in the development process.What do you think? Would it be appropriate to replace
e2e:open
with adev:e2e
?The text was updated successfully, but these errors were encountered: