webpro / reveal-md

reveal.js on steroids! Get beautiful reveal.js presentations from any Markdown file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

watching server vs. static files are not matching file paths

nuke-web3 opened this issue · comments

https://github.com/NukeManDan/reveal-md-issue

I made a demo, related to #417 perhaps, I cannot get the watching server to properly use the style and plugin pages as presently configured. The static files work in this repo, but not the dev server.

It might be related to:

reveal-md/lib/server.js

Lines 41 to 42 in 7af4686

app.use(`/${assetsDir}`, staticDir(process.cwd(), { fallthrough: false }));
app.use('/', staticDir(initialDir));

vs how the static site is handled.

Would love to upstream a solution for this if I can get some help fixing the issue in my example repo 🙏

Is this fixed by #458 or is this still an issue?

Cleaning the repo a bit, feel free to re-open if it's still an issue.