-
Notifications
You must be signed in to change notification settings - Fork 103
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
[BUG] Override unstable #1143
Comments
I also see this behaviour, even if I only do some really small changes, for example adding a CSS class. When I refresh the site, I always get the following error: |
Maybe this has something to do with chokidar. https://github.com/DivanteLtd/shopware-pwa/blob/master/packages/nuxt-module/src/module.ts#L234 |
After some days using this workaround, I can say that it's MUCH more stable, in fact I did not have any errors while using it. |
@niklaswolf Thanks for the tip! Encountered the same error on the Hypernode platform and using CHOKIDAR_USEPOLLING=1 yarn dev seems to fix it. |
Using shopware-pwa override copies the file, for instance /.shopware-pwa/source/components/SwFooter.vue correctly to /src/components/SwFooter.vue.
But when I then edit the latter, you'll always see a rebuild of the client and server in the shell running shopware-pwa dev, but the file in .shopware-pwa/source/components is not always updated. Most of the time it is replaced by an empty file, sometimes it gets updated. How can I debug the hot rebuild process to find the cause?
The text was updated successfully, but these errors were encountered: