-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Firestore emulation doesn't work with hot reloading #189
Comments
Understood if this ends up being considered irrelevant to this repository, but I thought creating the issue might help others. At this point the only solution I could find is to manually restart |
I might not be able to actually tackle this issue with the adapter separate from the Firebase framework. Firebase have added official support for Web Frameworks, so this adapter might end up being deprecated if they add support there. Thanks for sharing your solution / workaround 🙏 |
Describe the Bug
I think this may be an issue with sveltekit but since this repository represents the blend of sveltekit and firebase it seemed like an appropriate place to document the problem
I have a
firebase.ts
file configures a connection to firebase. It connects to the emulator if it detects a development environment. This works fine, but if the firebase module is edited while running in development mode / with hot module replacement it results in an error:Here is the code just for the record:
Steps to Reproduce
npm run dev
Expected Behaviour
I would expect the firestore emulation configuration to continue to work.
svelte-adapter-firebase version
0.14.4
sveltejs/kit version
1.0.0-next.488
The text was updated successfully, but these errors were encountered: