mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 22:18:52 +00:00
gulp file changes and bug fix for clicking arrow on expand only
This commit is contained in:
+1
-6
@@ -75,7 +75,7 @@ gulp.task('init-watch', () => {
|
||||
});
|
||||
$.watch('src/sass/**/*.scss', () => gulp.start('sass'));
|
||||
$.watch('node_modules/rancher-website-theme/**/*.scss', () => gulp.start('sass'));
|
||||
$.watch('src/js/**/*.js', () => gulp.start('js-watch'));
|
||||
$.watch('src/js/**/*.js', () => gulp.start('js'));
|
||||
$.watch('src/img/**/*', () => gulp.start('img'));
|
||||
$.watch(['archetypes/**/*', 'data/**/*', 'content/**/*', 'layouts/**/*', 'static/**/*', 'themes/**/*', 'node_modules/rancher-website-theme/**/*', 'config.toml'], () => gulp.start('hugo-dev'));
|
||||
});
|
||||
@@ -98,11 +98,6 @@ gulp.task('sass', () => {
|
||||
.pipe(browserSync.stream());
|
||||
});
|
||||
|
||||
gulp.task('js-watch', ['js'], (cb) => {
|
||||
browserSync.reload();
|
||||
cb();
|
||||
});
|
||||
|
||||
const vendors = ['ml-stack-nav', 'lory.js', 'tingle.js', 'moment', 'jquery'];
|
||||
|
||||
gulp.task('build:vendor', () => {
|
||||
|
||||
Reference in New Issue
Block a user