[英]How to refresh my web browser after I save a file in VI
If I'm editing a javascript file in VI, I'd like it to somehow refresh the browser as soon as I save my file without me having to switch to the browser window and press F5. 如果要在VI中编辑javascript文件,我希望它在保存文件后立即刷新浏览器,而无需切换到浏览器窗口并按F5。 (I'm using a transparent terminal so I can see the browser through my code).
(我使用的是透明终端,因此可以通过代码查看浏览器)。 What's the best way to do this?
最好的方法是什么?
检查一下: 自动刷新浏览器以响应文件系统更改?
This has been answered here: 这已经在这里得到回答:
Using vim, how do you quickly refresh a web page you're working on? 使用vim,如何快速刷新正在处理的网页?
I like the look of http://xrefresh.binaryage.com/ 我喜欢http://xrefresh.binaryage.com/的外观
Here's a python script which works with all browsers and can use multiple browsers simultaneously. 这是适用于所有浏览器的python脚本,可以同时使用多个浏览器。 It currently only works on linux though.
它目前仅在Linux上有效。 http://code.google.com/p/reloader/
http://code.google.com/p/reloader/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.