Comments (2)
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.
Thanks.
from cypress-webpack-preprocessor.
Related Issues (20)
- Dependency Dashboard HOT 2
- update lodash to v4.17.20 HOT 5
- Loosen semver strategy HOT 1
- Add types HOT 11
- Sources maps are not generated for typescript files HOT 3
- Unable to import `Options` from types HOT 1
- Error in types HOT 2
- Figure out why .babelrc is not loaded automatically HOT 1
- Crashes when preprocessing 24 Typescript tests (but sometimes works) HOT 6
- Output bundling timings HOT 1
- Missing type for "defaultOptions" HOT 2
- Add TypeScript example HOT 1
- Set mode: development HOT 1
- Remove optimization object HOT 1
- No version of chokidar is available. Tried chokidar@2 and chokidar@3 HOT 3
- feat: force sourceMap: true on all typescript projects HOT 1
- webpack sourceMap error in 5.4.0 HOT 7
- Error: Webpack Compilation Error HOT 1
- Can't run Cypress with TS on ejected CRA app HOT 4
- cypress-webpack-preprocessor should update the version of lodash being used HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress-webpack-preprocessor.