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

Not reloading when the url has some parameter #220

Open
lucamug opened this issue Mar 18, 2020 · 1 comment
Open

Not reloading when the url has some parameter #220

lucamug opened this issue Mar 18, 2020 · 1 comment

Comments

@lucamug
Copy link
Contributor

lucamug commented Mar 18, 2020

In case the url is something like:

http://localhost:8001/index.html?a=b

It seems that this snippet is not inserted.

<!-- Inserted by Reload -->
<script src="/reload/reload.js"></script>
<!-- End Reload -->

In start.js:

} else if (url.isType(CONTENT_TYPE)) {
  readFile(url.getPath, 'utf8')
    .alt(readFile(url.rootpath, 'utf8'))
    .fork(resolveNotFound(res), resolveWith(model.reload, res))

url.isType(CONTENT_TYPE is false, so resolveWith is not executed

@lucamug
Copy link
Contributor Author

lucamug commented Mar 18, 2020

Could also be somehow related to #199 ?

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

1 participant