We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.tsx:
import styleText from "data-text:./styles.css" import type { PlasmoGetStyle } from "plasmo" function Overlay(){ return ( <div className="overlay"> Test </div> ) } export const getStyle: PlasmoGetStyle = () => { const style = document.createElement("style") style.textContent = styleText return style } export default Overlay
when styles.css update, there is extension re-packaged message show, but no effect on "overlay" unless reload extension.
Latest
Windows
Chrome
No response
The text was updated successfully, but these errors were encountered:
Facing same issue... Also for content scripts there is no HMR, the whole page just reload (and the extension as well)
Changing CSS/SCSS does not trigger the reload.
I belive related: #610 (comment)
Sorry, something went wrong.
Started using Tailwind CSS for the hot reloading!
No branches or pull requests
content.tsx:
when styles.css update, there is extension re-packaged message show, but no effect on "overlay" unless reload extension.
Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution
Code of Conduct
The text was updated successfully, but these errors were encountered: