Browser Sync
From Logic Wiki
Revision as of 09:42, 14 June 2017 by AliIybar (Talk | contribs) (Created page with "Category:HTML Category:Node.js Category:Tests == Installation == $ npm install -g browser-sync [https://www.browsersync.io https://www.browsersync.io] == Using...")
Installation
$ npm install -g browser-sync
Using in VS
External Tools > Add
- Title: BrowserSync
- Command: C:\Windows\System32\cmd.exe
- Arguments: /C browser-sync start --files "Content/auden/*.less, ./**/*.cshtml" --proxy localhost:50927 --logLevel debug
- Initial directory: $(ProjectDir)
Browsersync Command Line Usage
$ browser-sync start [options] Start Browsersync $ browser-sync init Create a configuration file $ browser-sync reload Send a reload event over HTTP protocol $ browser-sync recipe [name] Generate the files for a recipe