Prerequisites
Before starting, you should have:
A project containing at least an index.html
& some scss
files.
NodeJS installed.
GulpJS installed globally 'npm install -g gulp'
Step 1 - Install We need to install 3 tools locally to our project - gulp, gulp-sass & browser-sync. In your terminal/command line, navigate to your project directory and run
npm install gulp gulp-sass browser-sync
Step 2 - File creation
create a file named gulpfile.js
Step 3 - Start the server
Type gulp to trigger the server
gulp