Skip to main content
Module

x/udibo_react_app/server.tsx>listeningDev

A React Framework for Deno that makes it easy to create highly interactive apps that have server side rendering with file based routing for both your UI and API.
Go to Latest
function listeningDev
import { listeningDev } from "https://deno.land/x/udibo_react_app@0.8.0/server.tsx";

This function tells the dev server when the app server is listening. If you are not using serve, you must add an event listener to your app that will call this function once it's listening. If this function is not called, the browser will not automatically refresh when the app server is restarted. If called before the app server is listening, the browser will refresh before the app server is ready to handle the request. This function will not do anything if the app is not running in development mode.

Parameters

unnamed 0: { hostname: string; secure: boolean; devPort?: number; }