Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/vno/core/ssg/constants.ts>reloadScript

a build tool for compiling and bundling Vue single-file components
Latest
variable reloadScript
import { reloadScript } from "https://deno.land/x/vno@1.5.1/core/ssg/constants.ts";

type

`const socket = new WebSocket('ws://localhost:8080'); socket.addEventListener('message', (event) => { console.log(event); if (event.data === 'reload') { window.location.reload(); } });`