browser-refresh-taglib

Taglib to enable browser page refresh in response to file modifications on the server

ISC 9 个版本
安装
npm install browser-refresh-taglib
yarn add browser-refresh-taglib
pnpm add browser-refresh-taglib
bun add browser-refresh-taglib
README

browser-refresh-taglib

Taglib to enable browser page refresh in response to file modifications on the server and when the processed was using the browser-refresh process launcher.

Installation

npm install browser-refresh-taglib --save

Usage

<!doctype html>
<html lang="en">
    <head>
        ...
    </head>
    <body>
        ...
        
        <browser-refresh enabled="true"/>
    </body>
</html>

If the process has been launched using browser-refresh then the output of the tag will be similar to the following:

<script src="http://localhost:51066/browser-refresh.js"></script>

If the process was not launched using browser-refresh then the tag will not produce any output. That is, it is safe for the tag to be used in production.

Maintainers

Contribute

Pull requests, bug reports and feature requests welcome.

License

ISC

版本列表
1.2.1 2022-09-28
1.2.0 2022-09-28
1.1.0 2016-05-09
1.0.4 2016-02-18
1.0.3 2014-12-10
1.0.2 2014-10-03
1.0.1 2014-09-22
1.0.0 2014-09-22
0.1.0-beta 2014-06-06