开发者

How to refresh my web browser after I save a file in VI

开发者 https://www.devze.com 2023-02-18 05:50 出处:网络
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. (开发者_运维知识库I\'m us

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. (开发者_运维知识库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?

I like the look of http://xrefresh.binaryage.com/


Check this out: Automatically refresh browser in response to file system changes?


Here's a python script which works with all browsers and can use multiple browsers simultaneously. It currently only works on linux though. http://code.google.com/p/reloader/

0

精彩评论

暂无评论...
验证码 换一张
取 消