admin管理员组

文章数量:1023119

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.

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.

本文标签: How do I use Flutter39s hot reload for a web app that uses FirebaseStack Overflow