代码更改后如何重新加载html页面 [英] How to reload a html page when your code changes

查看:610
本文介绍了代码更改后如何重新加载html页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我记得看过John Resig的一个jquery演示.他有一个浏览器应用程序,可以在编码时实时重新加载.我认为他甚至不必保存代码更改就可以做到这一点(请参见视频中的3:40).

I remember watching a jquery demo by John Resig. He had a browser application that reloaded live while he was coding. I think he did not even have to save his code changes for this to happen ( see 3:40 in the video ).

这是视频: http://vimeo.com/116991

我觉得这很酷,并认为在您进行编码时这真的非常有用和有趣.

I find this really cool and think this can be really useful and fun while you are coding.

您知道他正在使用什么应用程序吗? 您知道这是如何完成的或可能会完成的吗?

Do you know what application he was using? Do you know how this is done or might be done?

更新: 这是由 Januz 提出的:

您可以使用 XRefresh .每当您将文件保存到项目的文件夹中时,它就会重新加载.

You could use XRefresh. It reloads everytime you save a file in your project's folder.

似乎可以正常工作.

推荐答案

您可以使用 XRefresh .每当您将文件保存到项目的文件夹中时,它就会重新加载.

You could use XRefresh. It reloads everytime you save a file in your project's folder.

这篇关于代码更改后如何重新加载html页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆