jthegedus / svelte-adapter-firebase

SvelteKit adapter for Firebase Hosting rewrites to Cloud Functions for a Svelte SSR experience

Home Page:https://github.com/jthegedus/svelte-adapter-firebase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hot reloading

sashalikesplanes opened this issue · comments

I am wondering if there is a possibility to run a local server via either firebase emulators:start or firebase serve that would also include hot reloading? I have tried prefacing both of those commands with npm run build --watch but that did not enable fast reloading.

Excuse me for the noob question. I am still relatively new to web development and the ecosystem can be sometimes overwhelming. I have found that I can achieve the hot reloading that I desire by serving the app locally with npm run dev which just runs svelte-kit dev command.

I thought that the serving should be done from firebase in order to make use of Firestore and of Cloud Functions, but both of those work without a problem.