From 6a9df4ae41433803157fb36ef4bdc0e1edb2e3e8 Mon Sep 17 00:00:00 2001 From: Aseem Bansal Date: Sat, 27 Jun 2015 19:09:21 +0530 Subject: [PATCH] Updated example to have comment about libraries --- docs/config/02-files.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/config/02-files.md b/docs/config/02-files.md index 9b1021da2..7f4ee2fa0 100644 --- a/docs/config/02-files.md +++ b/docs/config/02-files.md @@ -58,6 +58,10 @@ Here is a complete example showing the different options possible: ```javascript files: [ + // Detailed pattern to include a file. Similarly other options can be used + { pattern: 'lib/angular.js', watched: false }, + // Prefer to have watched false for library files. No need to watch them for changes + // simple pattern to load the needed testfiles // equal to {pattern: 'test/unit/*.spec.js', watched: true, served: true, included: true} 'test/unit/*.spec.js',