davidgranstrom/nvim-markdown-preview

[Feature Request] Enable live-server alternative

David-Else opened this issue · 6 comments

live-server is very old and unmaintained. It has know security vulnerabilities: tapio/live-server#390

It would be nice to be able to use an alternative, https://github.com/lukejacksonn/servor#readme looks ideal. It has zero dependencies.

Thanks for bringing this to my attention. I haven't used the application you have linked but I will have a look and see how much work would be involved to make a switch.

@David-Else I recently had a chance to try out servor and it seems like a possible alternative, although currently its missing an important feature (at least for this plugin) namely to be able to serve content from multiple paths. I saw that there was a PR implementing this feature so I will give that a try.

@davidgranstrom Great news you checked it out! I found Servor in https://css-tricks.com/comparing-the-new-generation-of-build-tools/ , I don't know of any other replacements for live-server, but I have not searched much. Servor does look nice.

Hi! Also an alternative is https://www.npmjs.com/package/@compodoc/live-server it's just a fork done by @compodoc and development is more active and fixed security problems updating all dependencies. Migrations is just remove live-server and add @compodoc/live-server, the rest just continue working in the same way.

@jhernandez-at-wiris Thanks, just tested and it looks like a great alternative! I'll make a note to update the installation instructions in the README.

Added a note to the README to use the @compodoc/live-server fork and linked to this issue.