Permalink
Browse files

fix gulp issue

  • Loading branch information...
Bloggerschmidt committed Jun 6, 2018
1 parent 6fa7678 commit 5014ed006627c3b28d7b701e86cde9d9e7db2ae0
Showing with 5 additions and 7 deletions.
  1. +3 −4 gulpfile.js
  2. +2 −3 package.json
@@ -3,7 +3,6 @@ var gulp = require('gulp');
var concat = require('gulp-concat');
var sass = require('gulp-sass');
var uglify = require('gulp-uglify');
var runSequence = require('run-sequence');
var browserSync = require('browser-sync').create();
// FILES
@@ -41,10 +40,10 @@ gulp.task('serve', ['sass'], function() {
// proxy: 'http://localhost:8888/' // mamp
proxy: 'http://localhost/your-website/' // usualy
});
gulp.watch(['js/**/*.js'], ['js']);
gulp.watch(['scss/**/*.scss'], ['sass']);
gulp.watch('js/**/*.js', gulp.series('js'));
gulp.watch('scss/**/*.scss', gulp.series('sass'));
gulp.watch('*.php').on('change', browserSync.reload);
});
gulp.task('default', runSequence('bootstrap','sass','js','serve'));
gulp.task('default', gulp.parallel('bootstrap','sass','js','serve'));
@@ -1,6 +1,6 @@
{
"name": "blank-bootstrap-edition",
"version": "4.1.0",
"version": "5",
"description": "Light, powerful and free template for Joomla!",
"main": "gulpfile.js",
"dependencies": {
@@ -11,8 +11,7 @@
"gulp-sass": "^4.0.1",
"gulp-uglify": "^3.0.0",
"jquery": "^3.3.1",
"popper.js": "^1.13.0",
"run-sequence": "^2.2.1"
"popper.js": "^1.13.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"

0 comments on commit 5014ed0

Please sign in to comment.