From 4e4cdb0f77eed6d5a56207043e702b39832222e4 Mon Sep 17 00:00:00 2001 From: Daniel Compton Date: Thu, 9 Feb 2017 12:05:16 +1300 Subject: [PATCH] feat(watcher): Debounce autoWatchBatchDelay Closes #2331 --- docs/config/01-configuration-file.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/config/01-configuration-file.md b/docs/config/01-configuration-file.md index 2bc4b054b..c8592c36e 100644 --- a/docs/config/01-configuration-file.md +++ b/docs/config/01-configuration-file.md @@ -89,8 +89,9 @@ These are all of the available configuration options. **Description:** When Karma is watching the files for changes, it tries to batch multiple changes into a single run so that the test runner doesn't try to start and restart running -tests more than it should. The configuration setting tells Karma how long to wait (in milliseconds) after any changes -have occurred before starting the test process again. +tests more than it should, or restart while build files are not in a consistent state. The configuration setting +tells Karma how long to wait (in milliseconds) from the last file change before starting +the test process again, resetting the timer each time a file changes (i.e. [debouncing](https://davidwalsh.name/javascript-debounce-function)). ## basePath