Skip to content
Discussion options

You must be logged in to vote

I think you're running the parcel dev server.
For the best emulation, I also use the Firebase Emulator, which includes Auth, Firestore, and Hosting.
Instead of running just npm run start, run npm run watch
This will ONLY compile the code with hot reloading.
To run the server, also run npm run emulator

Before you start the emulator, you need to install firebase tools.
They have some issues in the latest version regarding / serving /index.html, so install 11.13.0 instead
npm install -g firebase-tools@11.13.0
Thanks!

Replies: 1 comment 17 replies

Comment options

You must be logged in to vote
17 replies
@grimsteel
Comment options

@IMGROOT2
Comment options

IMGROOT2 Oct 23, 2022
Maintainer Author

@IMGROOT2
Comment options

IMGROOT2 Oct 23, 2022
Maintainer Author

@IMGROOT2
Comment options

IMGROOT2 Oct 23, 2022
Maintainer Author

@grimsteel
Comment options

Answer selected by grimsteel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants