File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,13 +100,13 @@ module.exports = function(callback) {
100
100
---------------*/
101
101
102
102
// recompile on *.override , *.variable change
103
- isConfig = ( file . path . indexOf ( 'theme.config' ) !== - 1 ) ;
103
+ isConfig = ( file . path . indexOf ( 'theme.config' ) !== - 1 || file . path . indexOf ( 'site.variables' ) !== - 1 ) ;
104
104
isPackagedTheme = ( file . path . indexOf ( source . themes ) !== - 1 ) ;
105
105
isSiteTheme = ( file . path . indexOf ( source . site ) !== - 1 ) ;
106
106
isDefinition = ( file . path . indexOf ( source . definitions ) !== - 1 ) ;
107
107
108
108
if ( isConfig ) {
109
- console . info ( 'Change detected in theme config ' ) ;
109
+ console . info ( 'Rebuilding all UI ' ) ;
110
110
// impossible to tell which file was updated in theme.config, rebuild all
111
111
gulp . start ( 'build' ) ;
112
112
return ;
You can’t perform that action at this time.
0 commit comments