Skip to content
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

Content Script is only running when npm run build, I can't run it with npm start It's not seen #210

Open
RobertoJoseph opened this issue Jun 17, 2024 · 3 comments

Comments

@RobertoJoseph
Copy link

RobertoJoseph commented Jun 17, 2024

I have to run npm run build everytime I change a line of code in Content Script so I can see the changes on the web.

@girish3
Copy link

girish3 commented Jun 20, 2024

I am facing the same issue. For some reason, Content Script changes are not reflecting. I followed the Readme section and excluded it from hot reloading. Only npm run build works.

@RobertoJoseph
Copy link
Author

Hey @girish3 I got a solution for it.

Go to webserver.js file and make the https property to true in the WebpackDevServer.

@girish3
Copy link

girish3 commented Jun 20, 2024

https property change to true worked! 🎉
Thanks @RobertoJoseph 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants