Add "custom-editor-style.scss" and any other sass file to watch and compile process.

Add all js files to the 'scripts' gulp task.
This commit is contained in:
Lilumi Odi 2019-09-28 16:27:30 +03:00
parent c2a06502b7
commit ac0713dfca
1 changed files with 24 additions and 23 deletions

View File

@ -49,7 +49,7 @@ gulp.task('sass', function() {
// gulp watch // gulp watch
// Starts watcher. Watcher runs gulp sass task on changes // Starts watcher. Watcher runs gulp sass task on changes
gulp.task('watch', function () { gulp.task('watch', function () {
gulp.watch(`${paths.sass}/**/*.scss`, gulp.series('styles')); gulp.watch([`${paths.sass}/**/*.scss`, `${paths.sass}/*.scss`], gulp.series('styles'));
gulp.watch( gulp.watch(
[ [
`${paths.dev}/js/**/*.js`, `${paths.dev}/js/**/*.js`,
@ -149,6 +149,7 @@ gulp.task('scripts', function() {
var scripts = [ var scripts = [
// Start - All BS4 stuff // Start - All BS4 stuff
`${paths.dev}/js/bootstrap4/bootstrap.bundle.js`, `${paths.dev}/js/bootstrap4/bootstrap.bundle.js`,
`${paths.dev}/js/themejs/*.js`,
// End - All BS4 stuff // End - All BS4 stuff