sarsamurmu / reboost

A super fast dev server for rapid web development
MIT License
61 stars 3 forks source link

public/index.html change never triggers reloading #17

Closed GHNewbiee closed 4 years ago

GHNewbiee commented 4 years ago

"reboost": "0.9.1"

reboost.js

const { start } = require('reboost');

start({
  entries: [
    ['./src/index.js', './public/dist/index.js']
  ],
  contentServer: {
    root: './public',
    open: true
  }
});

src/index.js

- position: fixed;
+ position: relative;

public/index.html

...
  <body>
    <p>Welcome Reboost!</p>
    <my-element></my-element>
  </body>
...

public/index.html page auto-reloading does fail. Do I miss something obvious and important?

sarsamurmu commented 4 years ago

If you're making changes to public/index.html, it's obvious that the change won't reload the page. The content server still doesn't support file watching, I will try to do something about it.

GHNewbiee commented 4 years ago

Then, it would be better to make the following changes temporarily to avoid misleading users/readers:

sarsamurmu commented 4 years ago

Now file watching is supported by the content server. Just update to the latest version.