Skip to main content
Lucas_Miqueias
New Member
Jun 30, 2023 4:08 PM UTC
Question

Hot reload not working with React

I’ve been trying to use Hot Reload for a while now but it doesn’t update.
I always need to reload the plugin.

Is there anything I can do?

ezgif-2-b0e7e698b3

This topic has been closed for replies.

16 replies

ali_yousefi
Jul 12, 2023 5:43 AM UTC

I have the same issue…

Jul 20, 2023 7:57 AM UTC

Same issue here. Not sure what needs to be done. The hot reload plugin option doesn’t get checked as per the documentation

Jul 25, 2023 8:15 AM UTC

I have same issue.

Colin_Wirz
New Member
Jul 26, 2023 9:36 AM UTC

I have the same issue. Figma is only watching if the manifest.json file changed. So if you want to hotreload the plugin just change the manifest file or make sure the file gets updated somehow every time your build tiggers so the changed date and time of the file is new and Figma will reload the plugin.

Lucas_Miqueias
New Member
Jul 27, 2023 5:58 PM UTC

This makes sense and sad at the same time. 🥲

Colin_Wirz
New Member
Jul 27, 2023 7:25 PM UTC

It gets checked but only when you access the menu via rightclick somewhere and then you can select hotreload.

Lucas_Miqueias
New Member
Jul 31, 2023 11:48 PM UTC

Ok, but this isn’t productive.

Is there any alternative?

Pop_Razvan1
Aug 15, 2023 7:27 AM UTC

Does anyone have a solution for this ?

Oct 20, 2023 6:11 AM UTC

I faced the same issue but it was from Webpack, not React.
Adding cache: false to HtmlWebpackPlugin fixed the issue of my dev environment.

Lucas_Miqueias
New Member
Jan 8, 2024 4:56 PM UTC

This not working for me.
My files ui.js and main.js are updating, but the Figma not listening.