test-reload
v1.0.0
Published
Reloads Cypress when a given watched file changes
Downloads
2
Readme
cypress-watch-and-reload
Reloads Cypress when a given watched file changes
Use
npm install cypress-watch-and-reload
Add to your cypress/plugins/index.js
file
require('cypress-watch-and-reload/plugins')
Add to your cypress/support/index.js
file
require('cypress-watch-and-reload/support')
Details
This plugin opens a WebSocket connection from Cypress to its Node backend. The backend is watching index.html file. Whenever you change and save the index.html file, Cypress will notice and will reload itself, rerunning tests.
License
MIT license