1588610
不知各位大触是否知道 Chrome 的一个插件名为 livereload ,
配合 Node.js 下的 livereload 模块.
可以在修改保存源代码的同时刷新页面. 省下了按 Alt + Tab * n + F5 Refrash 重置页面的步骤.
对于愚这种初学者是极其好用 , 加快了学习和开发的速度.
但是 ! 在我 git add . 到 GitHub 的时候Git Shell报了错误:
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in node_modules/livereload/node_modules/cho
kidar/node_modules/anymatch/node_modules/micromatch/node_modules/braces/node_mod
ules/expand-range/node_modules/fill-range/node_modules/randomatic/node_modules/k
ind-of/LICENSE.
类似这样的错误若干. 大致意思是地址名字过长了发生的错误. 好像只有在Windows下才会触发这个问题.
求解答 谢谢 !