|
|
@ -182,6 +182,10 @@ gulp.task('watch', 'Watch for site/theme changes (Default Task)', function(callb |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if(config.rtl) { |
|
|
|
gulp.start('watch rtl'); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
// watching changes in style
|
|
|
|
gulp |
|
|
@ -338,6 +342,11 @@ gulp.task('build', 'Builds all files from source', function(callback) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
if(config.rtl) { |
|
|
|
gulp.start('build rtl'); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
// get relative asset path (path returns wrong path?)
|
|
|
|
// assetPaths.source = path.relative(srcPath, path.resolve(source.themes));
|
|
|
|
assetPaths.source = '../../themes'; // hardcoded
|
|
|
|