Browse Source

#1960 adjusting site.variables now rebuilds all files

pull/2034/head
jlukic 10 years ago
parent
commit
75efd94764
2 changed files with 2 additions and 2 deletions
  1. 2
      tasks/docs/serve.js
  2. 2
      tasks/watch.js

2
tasks/docs/serve.js

@ -111,7 +111,7 @@ module.exports = function () {
---------------*/
// recompile on *.override , *.variable change
isConfig = (file.path.indexOf('theme.config') !== -1);
isConfig = (file.path.indexOf('theme.config') !== -1 || file.path.indexOf('site.variables') !== -1);
isPackagedTheme = (file.path.indexOf(source.themes) !== -1);
isSiteTheme = (file.path.indexOf(source.site) !== -1);
isDefinition = (file.path.indexOf(source.definitions) !== -1);

2
tasks/watch.js

@ -100,7 +100,7 @@ module.exports = function(callback) {
---------------*/
// recompile on *.override , *.variable change
isConfig = (file.path.indexOf('theme.config') !== -1);
isConfig = (file.path.indexOf('theme.config') !== -1 || file.path.indexOf('site.variables') !== -1);
isPackagedTheme = (file.path.indexOf(source.themes) !== -1);
isSiteTheme = (file.path.indexOf(source.site) !== -1);
isDefinition = (file.path.indexOf(source.definitions) !== -1);

Loading…
Cancel
Save