🐛 fixed grunt dev restarting loads during tests (#8798)

closes #8599

- `grunt dev` was watching for changes to all config files
- added an ignore for config.testing.json
- now it won't restart constantly during tests
This commit is contained in:
Hannah Wolfe 2017-08-01 10:07:17 +04:00 committed by Katharina Irrgang
parent 3276820340
commit 2ce1b5e071

View File

@ -68,7 +68,7 @@ var overrides = require('./core/server/overrides'),
} }
}, },
express: { express: {
files: ['core/ghost-server.js', 'core/server/**/*.js', 'config.*.json'], files: ['core/ghost-server.js', 'core/server/**/*.js', 'config.*.json', '!config.testing.json'],
tasks: ['express:dev'], tasks: ['express:dev'],
options: { options: {
nospawn: true, nospawn: true,