Browser-sync Example using Proxy
Demo for a simple project using HTML, SASS, TypeScript, ExpressJS served application, and Browser-sync to refresh the development browser on files change.
Getting started:
Install Browser-sync globally:
npm i -g browser-sync
Install project dependencies
npm i
Run example:
npm run dev
Default server: localhost:3000
, change this params in bs-config.js
will be proxied to localhost:5000
- open this one in browser for development with live reload.