npm install -g browser-sync
browser-sync start --proxy "測試網址" --files "css/*.css, *.html"
C:\Users\user>browser-sync start --proxy "https://www.ncc.gov.tw" --files "css/*.css, *.html"
[Browsersync] Proxying: https://www.ncc.gov.tw
[Browsersync] Access URLs:
--------------------------------------
Local: https://localhost:3000
External: https://192.168.56.1:3000
UI: http://localhost:3001
UI External: http://192.168.56.1:3001
[Browsersync] Watching files...
npm install -g browser-sync
browser-sync start --proxy "測試網址" --files "css/*.css, *.html"
C:\Users\user>browser-sync start --proxy "https://www.ncc.gov.tw" --files "css/*.css, *.html"
[Browsersync] Proxying: https://www.ncc.gov.tw
[Browsersync] Access URLs:
--------------------------------------
Local: https://localhost:3000
External: https://192.168.56.1:3000
--------------------------------------
UI: http://localhost:3001
UI External: http://192.168.56.1:3001
--------------------------------------
[Browsersync] Watching files...