servor icon indicating copy to clipboard operation
servor copied to clipboard

[Feature Request] Inject livereload to each html file

Open T1mL3arn opened this issue 4 years ago • 0 comments

Each served html should have livereloading functional. For now it works only for index.html files.

Why

To use servor livereload feature not only for spa, but for traditional sites as well.

How

I believe this should work as default, but it could be opt-in.

Workaround

I found only one way to achieve this - place separate index.html into nested directories (one dir per html), link them with /nested_dir and run servor with servor --reload --static

T1mL3arn avatar Jun 19 '21 13:06 T1mL3arn