Skip to content

Commit

Permalink
Ignore bower_components in watcher, increased timeout for tests for s…
Browse files Browse the repository at this point in the history
…low VMs
  • Loading branch information
Matthew McNamara committed Feb 18, 2015
1 parent c056fa2 commit ddc8f14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions lib/bundles/watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ require('string.prototype.endswith');

// Patterns for gaze to watch or ignore
var watchPatterns = [
'bundles/**', // Watch bundles folder
'!**/*___jb_*___', // Ignore temp files created by JetBrains IDEs
'!bundles/*/view/**', // Ignore view folders. Might watch them in a later NodeCG version, but not now.
'!**/node_modules/**' // Ignore node_modules folders
'bundles/**', // Watch bundles folder
'!**/*___jb_*___', // Ignore temp files created by JetBrains IDEs
'!bundles/*/view/**', // Ignore view folders. Might watch them in a later NodeCG version, but not now.
'!**/node_modules/**', // Ignore node_modules folders
'!**/bower_components/**' // Ignore bower_components folders
];

var watcher = chokidar.watch(watchPatterns, {
Expand Down
2 changes: 1 addition & 1 deletion test/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var C = require('./setup/test-constants');
// Global before and after

before(function(done) {
this.timeout(15000);
this.timeout(30000);

if (C.CONFIG.login.enabled) {
throw new Error('Login security is enabled! Please disable login security in cfg/nodecg.json before running tests');
Expand Down

0 comments on commit ddc8f14

Please sign in to comment.