Upgrade to Pro — share decks privately, control downloads, hide ads and more …

fb-flo

 fb-flo

A talk describing fb-flo, the motivation behind and how it works

Amjad Masad

June 20, 2014
Tweet

More Decks by Amjad Masad

Other Decks in Programming

Transcript

  1. WHAT • Edit code in my favorite editor and have

    it reflect on the live web page • CSS & JS • Flexible and hackable enough • Remote File Systems • Build Step (We write in ES6) • Many Many source files
  2. OTHER TOOLS • live reload and livestyle are not actually

    live editing • Chrome Workspaces • Doesn’t support build step • No support for remote file systems • Can’t use your favorite editor
  3. ENTER FB-FLO • Live edit any static resource • Live

    reload is also supported • Works with your editor of your choice • Easily integrates with your build step, no matter how complex • Easily integrates with your dev environment • Configurable and hackable
  4. HOW • Server npm module • watches source files •

    sends changes via websocket • user-defined resolver function • Client is chrome extension • Uses chrome devtools API to live edit code • Fires event on code change
  5. SHORTCOMINGS • Hard to get started (need good gulp, grunt

    integration) • Limited to Chrome now. Firefox is in the works • Adds UI to DevTools • Live editing code is inherently limited