1.5.2 • Published 4 years ago
cypress-livereload v1.5.2
cypress-livereload
Reload Cypress tester using livereload
Installation
npm install cypress-livereload
Usage
Add to your cypress/support/index.js
file
require('cypress-livereload');
Options
You can configure the plugin in cypress.json
You only need to include the options that are different than the default value
"livereload": {
"hostname": null,
"https": false,
"port": 35729,
"delay": 0
}
- hostname: (Default: null) leave to null to use the current hostname
- https: (Default: false) if set to true, the wss protocol will be used instead of ws
- port: (Default: 35729) the current port that is used by your livereload server
- delay: (Default: 0 ms) increase if needed
Details
This plugin listens to your livereload server and reloads Cypress when livereload sends a reload command.
It aims to make TDD and debugging easier using Cypress
License
MIT license