UNPKG

watch_refresh

Version:

refreshes client browsers when changes are made, uses JSONP script tags to refresh, use this only in a secure/local environment, very light none-secure app for tinkering

26 lines (24 loc) 770 B
<!DOCTYPE html> <html lang="en"> <head> <title></title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> *{ font-family: calibri; } body{ background-color: #333; color: #eee; } </style> </head> <body> <h3>TEST_page</h3> <h3> change localhost to the ip or url you need</h3> <h3> change port to the port you defined in watch_refresh, default is 1337</h3> <h3> don't forget to change http to https if appicable</h3> <script src="http://localhost:1336/watch_refresh_client_script_init.js"></script> </body> </html>