airportyh/testem — pull request #3 by ericdwhite (2012-02-10 02:21:29+00:00)
Title: Support for glob src_files, and additional watch lists

src_files glob support
----------------------
This change allows the user to specify globs in their
testem.yml. For example:

src_files:
- js/vendor/curl/curl.js
- js/amd-app/config.js
- js/amd-app/**/*.js
- js/spec/config-override.js
- js/spec/specs.js

Note that src_files is intelligent enough to removed duplicates added by latter
glob patterns. This allows flexibility and control. For example the
amd-app/config.js is loaded before the rest of amd-app.

watch_files support
-------------------
watch_files:
- js/amd-app/**/*.js
- js/vendor/**/backbone.js
- js/vendor/**/jquery.js
- js/vendor/**/underscore-amd.js
- js/vendor/**/underscore.js

For AMD loaders is is desirble to not load everything in src_files. Instead
specify any additional glob patterns for files to watch (e.g. those loaded by
and AMD loader.