简体   繁体   English

在VI中保存文件后如何刷新Web浏览器

[英]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? 最好的方法是什么?

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.

相关问题 刷新后如何保存按钮的状态? - How can i save state my button after refresh? ReactApp-当我在VS代码编辑器中将js文件中的更改保存时,浏览器不会刷新页面。 - ReactApp - The browser does not refresh the page when i save changes in my js file in VS code editor . 如何在我的浏览器刷新截止日期后停止执行倒计时计时器 - How do I stop my countdown timer from executing after it has reached the deadline on refresh of my browser 保存js文件或刷新浏览器时常量的值发生变化 - The value of a constant changes when I save a js file or refresh the browser 当我在浏览器中刷新页面时,路由在我的Web应用程序中不起作用 - Routing is not working in my web application when I refresh the page in the browser 即使在我刷新页面后,谷歌浏览器如何保存我的认证用户? - How does google chrome save my authenticated user even after I refresh the page? 如何通过单击链接在 Angular Front End Web App 的浏览器中下载或保存 .csv 文件? 浏览器投诉没有文件 - How can I download or save a .csv file in browser in Angular Front End Web App on click of a link? browser complaints no file 如何让 web 浏览器自动刷新? - How do I get a web browser to refresh automatically? 关闭或刷新浏览器后如何触发功能 - How to trigger a function after I close or refresh the browser 刷新浏览器后如何保留表单值? - How do I preserve the form value after refresh browser?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM