I was trying to make Browsersync work with Gulp to be able to see coding changes in real time. I installed Browsersync and Gulp successfully, created gulpfile.js and put this code in. What is wrong with this code?
It does launch the server when I run command in terminal (browser-sync start --server --files "css/*.css"), but it doesn't reload or refresh when I make a change to a CSS file.
var gulp = require('gulp');
var browserSync = require('browser-sync').create();
What's wrong with my code (trying to make Browsersync work on Gulp)?
in JavaScript
Posted