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
My application is doing a full reload on css changes. How can I prevent that?
What version of esbuild will this work with? I'm using
"esbuild-envfile-plugin": "^1.0.3",
"esbuild-plugin-import-glob": "^0.1.1",
"esbuild-sass-plugin": "^3.3.1",
"@jgoz/esbuild-plugin-livereload": "^2.1.1",
Are the CSS files being included via imports from JS/TS files? If so, esbuild might be invalidating the JS portion of the dependency graph as well as the CSS portion, which would trigger a full page reload.
Yes @jgoz that is correct. The css files are imported into .JSX files. Is there a way avoid the JS becoming invalidated? Coupling .scss and .jsx files in this way is a file architecture that we are pretty attached to.
My application is doing a full reload on css changes. How can I prevent that?
What version of esbuild will this work with? I'm using
"esbuild-envfile-plugin": "^1.0.3",
"esbuild-plugin-import-glob": "^0.1.1",
"esbuild-sass-plugin": "^3.3.1",
"@jgoz/esbuild-plugin-livereload": "^2.1.1",
my esbuild.config.js
The text was updated successfully, but these errors were encountered: