Thanks to visit codestin.com
Credit goes to github.com

Skip to content

LiveReload is only enabled for base file #118

@nullromo

Description

@nullromo

Issue description

I started markserv by running readme &> /dev/null &. My project structure looks like this:

.
├── docs
│   ├── images
│   │   └── diagram.svg
│   ├── file1.md
│   ├── file2.md
│   └── file3.md
└── README.md

Markserv starts properly and I get a view of README.md in the browser. All good.

I have the LiveReload browser extension installed. After waiting a little bit for it to warm up, I start to see changes to README.md instantly in the browser after file saves. Excellent.

README.md contains lines like this:

Go [here](docs/file1.md) for information.

Those links work properly from markserv. When I click that link, I get served file1.md rendered as HTML. The problem is, that page does not live-reload. Only the base README.md page reloads instantly. Any pages that I linked to require manual refreshes to get updated content.

Main question

Is there a way to start markserv that allows for all the files to be live-reloaded? Perhaps I just missed some setup details, or maybe this is not implemented yet.

Environment details

Markserv: version 1.17.4
System: WSL2 on Windows 10
Browser: Google Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions