Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watching server vs. static files are not matching file paths #433

Closed
nuke-web3 opened this issue Oct 26, 2022 · 2 comments
Closed

watching server vs. static files are not matching file paths #433

nuke-web3 opened this issue Oct 26, 2022 · 2 comments

Comments

@nuke-web3
Copy link

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 🙏

@JoshOrndorff
Copy link

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

@webpro
Copy link
Owner

webpro commented Jan 2, 2024

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

@webpro webpro closed this as completed Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants