1.0.0 • Published 5 years ago

test-reload v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

cypress-watch-and-reload CircleCI

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