Use of LiveReload
tmt-workflow uses the browserSync module. There is no need to install other extensions. You only need to configure .tmtworkflowrc
as follows:
//是否开启自动刷新浏览器 //available 开启自动刷新 //port 指定端口 //startPath 指定默认打开的页面 "livereload": { "available": true, //开启自动刷新 "port": 8080, "startPath": "html/index.html" },
can be automatically added during the development process. The browser refreshes the page we modified to reduce manual refresh and improve development efficiency, especially in a dual-screen browser development environment. It is simply a must-have tool for front-end development to free your hands.