最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How do I use Flutter's hot reload for a web app that uses Firebase? - Stack Overflow

programmeradmin1浏览0评论

I am building a web app using Flutter and Firebase. If I make a change and save it, Chrome will perform a hot restart (opposed to a hot reload). I could build it to Windows instead, so I could take advantage of the hot reload, but Firebase is not supported on Windows apps.

How can I use both Firebase and Hot Reload for my Flutter web app?

I am building a web app using Flutter and Firebase. If I make a change and save it, Chrome will perform a hot restart (opposed to a hot reload). I could build it to Windows instead, so I could take advantage of the hot reload, but Firebase is not supported on Windows apps.

How can I use both Firebase and Hot Reload for my Flutter web app?

Share Improve this question asked Nov 18, 2024 at 23:15 EvorlorEvorlor 7,64820 gold badges77 silver badges151 bronze badges 0
Add a comment  | 

1 Answer 1

Reset to default 1

Flutter for Web does not support hot reload.

From the Flutter documentation on building for web:

Hot reload is not supported in a web browser. Currently, Flutter only supports hot restart, which restarts your app without refreshing the web page.

So regardless of Firebase, Flutter doesn't support hot-reload for web apps.

发布评论

评论列表(0)

  1. 暂无评论