Browsersync???????????????
???????????? ???????[ 2016/5/17 10:43:17 ] ????????WEB???? ?????????
????????browsersync??
????browsersync?????????????????????html??css??js??less??????????????淢???仯?????browsersync????????????棬??????F5???鷳???衣??????????browsersync????nodejs?????????????????????????????????????????????????????????????????豸????????????
????
sync-demo.gif
????scroll-demo.gif
?????????browsersync??
????1.???nodejs
????https://nodejs.org ???nodejs???????????μ?nodejs????????mac os windows????linux nodejs???к??????????
????2.???browsersync
???????????????????terminal????
????npm install -g browser-sync
??????????????????????????κ????????????ù????
??????????browsersync??
????????????????
?????????????????????????????????????cd?????????????
????browser-sync start --server --files **
????browsersync????????????????????????????????
????**???????????????????????
????browser-sync start --server --files "css/*.css?? *.html"
????css/.css?? .html???????css??????????е?css?????????????μ?????html?????
?????????????????
??????????????????php????python??????browsersync??????????????????????????
????browser-sync start --proxy "??????" "css/*.css"
????browser-sync start --proxy "jianshu.com" "css/*.css"
???????npm???????
????????????browser-sync????????????????????????????????????????????package.json??á?
???????巽??
????1.???????????
????npm init
????????package.json?????
????2.??package.json?????????á?
??????scripts??????д
????"dev":"browser-sync start --server --files **"
???????檔
????3.??????????????????????
????????
????npm run dev
???????????browsersync????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11