|
|
|
@ -20,15 +20,15 @@ function loadConfig() {
|
|
|
|
|
function bsInit__local(done) { |
|
|
|
|
browsersync.init({ |
|
|
|
|
logLevel: 'debug', |
|
|
|
|
//proxy: SITE.Local.Url,
|
|
|
|
|
proxy: 'https://roblib2023.lndo.site/' |
|
|
|
|
proxy: SITE.Local.Url, |
|
|
|
|
//proxy: 'https://d10_dev.lndo.site/',
|
|
|
|
|
}); |
|
|
|
|
done(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function bsInit__remote(done) { |
|
|
|
|
browsersync.init({ |
|
|
|
|
//logLevel: 'debug',
|
|
|
|
|
logLevel: 'debug', |
|
|
|
|
proxy: SITE.Remote.Url, |
|
|
|
|
serveStatic: ['.'], |
|
|
|
|
files: PATHS.Watch, |
|
|
|
@ -61,8 +61,7 @@ function drush() {
|
|
|
|
|
// Compile CSS
|
|
|
|
|
function styles() { |
|
|
|
|
'use strict'; |
|
|
|
|
return ( |
|
|
|
|
gulp |
|
|
|
|
return gulp |
|
|
|
|
//.src(PATHS.Scss.Dir + '/**/*.scss')
|
|
|
|
|
.src('./css/sass/**/*.scss') |
|
|
|
|
.pipe(plumber()) |
|
|
|
@ -77,8 +76,7 @@ function styles() {
|
|
|
|
|
.pipe(sourcemaps.write('.')) |
|
|
|
|
//.pipe(gulp.dest(PATHS.Css.Dir))
|
|
|
|
|
.pipe(gulp.dest('./css')) |
|
|
|
|
.pipe(browsersync.stream()) |
|
|
|
|
); |
|
|
|
|
.pipe(browsersync.stream()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Watch Files
|
|
|
|
|