How to disable cross-device action mirroring functionality of BrowserSync? (GhostMode)

前端 未结 5 591
挽巷
挽巷 2020-12-29 20:35

Our team used the gulp-angular generator with yeoman to scaffold out our web app. It uses browsersync to handle live reloads, which we want. However, we just deployed to our

5条回答
  •  余生分开走
    2020-12-29 21:01

    In case you use the QuickStart seed to initialize your project, the settings of BrowserSync can be configured using bs-config.json file at project's root folder.

    My file contains the following:

    {
      "server": {
        "baseDir": "src",
        "routes": {
          "/node_modules": "node_modules"
        }
      },
      "ghostMode": false
    }
    

提交回复
热议问题