You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your hot reload solution is great, and it worked for me wonderfully when I was building out the Google Extension tutorial.
However, now that I am building a more complex extension with webpack, I am not able to get hot reloading to work. After some research, I found that the hot-reload module stops polling after I run npm run build. That command removes, and rebuilds the dist folder that houses all my unpacked extension files.
The hot-reload file is added as one of the entries in webpack.config. So, when the app is rebuilt, I wonder if hot-reload.js gets deleted?.. Or, it loses the connection to file system because now it's a different dist folder?
Wondering if you, or someone has run into this problem before, or if you have ideas on how to solve it.
The text was updated successfully, but these errors were encountered:
Your hot reload solution is great, and it worked for me wonderfully when I was building out the Google Extension tutorial.
However, now that I am building a more complex extension with webpack, I am not able to get hot reloading to work. After some research, I found that the
hot-reload
module stops polling after I runnpm run build
. That command removes, and rebuilds thedist
folder that houses all my unpacked extension files.The
hot-reload
file is added as one of the entries inwebpack.config
. So, when the app is rebuilt, I wonder ifhot-reload.js
gets deleted?.. Or, it loses the connection to file system because now it's a differentdist
folder?Wondering if you, or someone has run into this problem before, or if you have ideas on how to solve it.
The text was updated successfully, but these errors were encountered: