damienromito / express-sync

How to use an express server with browser-sync (without gulp)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express-sync

How to use an express server with browser-sync (without gulp)

#1 - Install express and browser-sync modules

npm install

#2 - Launch the script

npm start

same to: node app & browser-sync start --proxy 'localhost:9000' --files 'public'

#3 - Modify style.css and save to test browser-sync

body {
    background: red;
}

Then you can see modifications without reload your browser

About

How to use an express server with browser-sync (without gulp)


Languages

Language:JavaScript 93.1%Language:CSS 6.9%