Skip to content

Commit

Permalink
feat: make autoWatch true by default
Browse files Browse the repository at this point in the history
I think this should have been `true` since the beginning, really not sure why it was not.

BREAKING CHANGE: `autoWatch` is `true` by default. If you rely on the default value being `false`, please set it in `karma.conf.js` explicitly to `false`.
  • Loading branch information
vojtajina committed Nov 30, 2013
1 parent 7213877 commit 8454898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/config/01-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ These are all the available configuration options.
## autoWatch
**Type:** Boolean

**Default:** `false`
**Default:** `true`

**CLI:** `--auto-watch`, `--no-auto-watch`

Expand Down
2 changes: 1 addition & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ var Config = function() {
this.exclude = [];
this.logLevel = constant.LOG_INFO;
this.colors = true;
this.autoWatch = false;
this.autoWatch = true;
this.autoWatchBatchDelay = 250;
this.usePolling = true;
this.reporters = ['progress'];
Expand Down

0 comments on commit 8454898

Please sign in to comment.