brocessing / kirby-webpack

:muscle: A Kirby CMS starter-kit with modern frontend tools
MIT License
179 stars 23 forks source link

Hot reload issue with open panel #31

Closed illycz closed 6 years ago

illycz commented 6 years ago

I'm running dev server and my page is reloaded every 3second without any changes when I have also open panel.

Thanks

pqml commented 6 years ago

What's your setup? (plugins/fields/proxy url/protocol)

illycz commented 6 years ago

kirby.config:

{
  "modules": {
    "core": "https://github.com/getkirby/kirby.git",
    "panel": "https://github.com/getkirby/panel.git",
    "fields": {
      "tabs": "https://github.com/afbora/Kirby-Tabs-Field.git"
    },
    "plugins": {
      "google-analytics": "https://github.com/pedroborges/kirby-google-analytics.git",
      "images": "https://github.com/medienbaecker/kirby-images.git",
      "kirby-compress": "https://github.com/iksi/kirby-compress.git",
      "meta-tags": "https://github.com/pedroborges/kirby-meta-tags.git",
      "page-lock": "https://github.com/pedroborges/kirby-page-lock.git",
      "redirecty": "https://github.com/ivinteractive/kirbycms-redirects.git",
      "translations": "https://github.com/flokosiol/kirby-translations.git",
      "xml-sitemap": "https://github.com/pedroborges/kirby-xml-sitemap.git"
    },
    "tags": {},
    "widgets": {}
  }
}

I'm using proxy for kirby-webpack.local Anything else?

pqml commented 6 years ago

Thanks for your infos, I'll try to reproduce your issue with a similar environment.

One user already experienced a similar issue with the kirby shopkit plugin: https://forum.getkirby.com/t/kirby-webpack-a-kirby-starter-kit-with-modern-frontend-tools/8695/14

For now, you can fix this by completely disabling reloading on content changes (reloading will continue to work for php / js / css edits): https://forum.getkirby.com/t/kirby-webpack-a-kirby-starter-kit-with-modern-frontend-tools/8695/15

pqml commented 6 years ago

Okay, there is a bug with page-lock plugins. I open a new issue for this