Make finicky test more reliable
This commit is contained in:
parent
dfa6953aaf
commit
cdaf06ef95
@ -90,9 +90,8 @@ exports.livereload = {
|
||||
var assertWatch = helper.assertTask(['watch:differentfiles', '-v'], {cwd: cwd});
|
||||
assertWatch([function() {
|
||||
grunt.file.write(path.join(cwd, 'lib', 'one.js'), 'var one = true;');
|
||||
setTimeout(function () {
|
||||
grunt.file.write(path.join(cwd, 'lib', 'two.js'), 'var two = true;');
|
||||
}, 500);
|
||||
}, function() {
|
||||
grunt.file.write(path.join(cwd, 'lib', 'two.js'), 'var two = true;');
|
||||
}], function(result) {
|
||||
result = helper.unixify(result);
|
||||
helper.verboseLog(result);
|
||||
|
Loading…
Reference in New Issue
Block a user