Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 792 Bytes

Expressive Live Editing.md

File metadata and controls

24 lines (19 loc) · 792 Bytes

TEST: Expressive Live Editing(Lesson 17)

Description

  • Step up your environment for live editing.
  • Live editing will cause any connected browser to automatically reload if you change any file.

Different Approaches for Live Editing

Using Browser-Sync

    1. Install browser-sync.
    1. Create a browser-sync object and initialize the server.
var browserSync = require('browser-sync').create();
 browserSync.init({
     server: "./"
 });
 browserSync.stream();
    1. Run gulp in Terminal, see how browser opens with the page open.