Answer the question
In order to leave comments, you need to log in
I can't understand what is the browser-sync.Help error??
I can't understand what is the browser-sync.Help error??
guys help, can't get browser-sync to work.
localhost opens, there is an empty page and it says Cannot GET /
var gulp = require('gulp');
var browserSync = require('browser-sync').create();
gulp.task('browser-sync', function(){
browserSync.init(['front/css/*.css', 'front/js/*.js'], {
server: {
baseDir :'front'
}
});
});
gulp.task('watch', ['browser-sync']);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question