isaacplmann / ngx-cypress-builder

Run e2e tests in the angular cli using cypress
18 stars 8 forks source link

Handle watch mode on devServerTarget based on Cypress running mode #8

Open gpincheiraa opened 5 years ago

gpincheiraa commented 5 years ago

I have been using this configuration

"e2e": {
          "builder": "ngx-cypress-builder:cypress",
          "options": {
            "devServerTarget": "web-app:serve",
            "mode": "browser"
          },
          "configurations": {
            "production": {
              "devServerTarget": "web-app:serve:production"
            }
          }
        }

and on my CI system ng e2e -- --mode console. The problem it is that when I working in BDD approach using the Cypress Browser mode, when I made changes the devServerTarget task not reload the browser.