Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
chore(build): Make test-config not autoWatch, speed up grunt watch task
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed Mar 31, 2013
1 parent 194c848 commit 556a37e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,17 @@ module.exports = function(grunt) {
all: 'angular.module("ui.bootstrap", ["ui.bootstrap.tpls", <%= srcModules %>]);'
},
watch: {
files: ['<%= jshint.files %>', 'template/**/*.html'],
tasks: ['before-test', 'test-run']
html: {
files: ['template/**/*.html'],
tasks: ['html2js']
},
js: {
//nospawn makes the tests start faster
nospawn: true,
files: ['src/**/*.js'],
//we don't need to jshint here, it slows down everything else
tasks: ['test-run']
}
},
concat: {
dist: {
Expand Down
2 changes: 1 addition & 1 deletion testacular.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ colors = true;
logLevel = LOG_INFO;

// enable / disable watching file and executing tests whenever any file changes
autoWatch = true;
autoWatch = false;

// Continuous Integration mode
// if true, it capture browsers, run tests and exit
Expand Down

0 comments on commit 556a37e

Please sign in to comment.