Skip to content

Commit

Permalink
fix: add ghostMode to browsersync config
Browse files Browse the repository at this point in the history
  • Loading branch information
swashata committed Dec 26, 2019
1 parent 5a34177 commit ec4cae1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/scripts/src/scripts/Server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,14 @@ export class Server {
host: this.serverConfig.host,
open: false, // We don't want to open right away
notify: this.serverConfig.notify,
ghostMode:
this.serverConfig.ghostMode === undefined
? {
clicks: true,
forms: true,
scroll: true,
}
: this.serverConfig.ghostMode,
snippetOptions: {
whitelist: [
// Add WP REST API
Expand Down

0 comments on commit ec4cae1

Please sign in to comment.