Giter Club home page Giter Club logo

Comments (2)

chrisbreiding avatar chrisbreiding commented on June 9, 2024 1

Correct me if I'm wrong, but it sounds like your expectation is that it would manage your app code. The purpose of this preprocessor (and any Cypress preprocessor) is to watch and compile your test code (any .js or .coffee files that live in your cypress directory).

Out of the box (without this preprocessor), you can use modern JavaScript syntax and features (notably ES modules), so you might not need this preprocessor at all. However, we don't support experimental features out of the box, like object spread and decorators, so if you use those features in your test code (or import app code that uses those features into your test code), you may need this preprocessor to configure it to support those features.

This preprocessor will re-run you tests, but only when you change test files. Cypress doesn't really know anything about your app code or how it relates to your test code, so there's no way for us to automatically re-run tests based on your app code changing. That said, it's on our radar for us to add a mechanism enabling such functionality. Here's an issue to keep an eye on for progress on that front: cypress-io/cypress#456

from cypress-webpack-preprocessor.

dkreft avatar dkreft commented on June 9, 2024

Thanks.

from cypress-webpack-preprocessor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.