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

reload package won't reload app if URL ends with /# #7239

Closed
realyze opened this issue Jun 17, 2016 · 1 comment
Closed

reload package won't reload app if URL ends with /# #7239

realyze opened this issue Jun 17, 2016 · 1 comment

Comments

@realyze
Copy link
Contributor

@realyze realyze commented Jun 17, 2016

  1. Run meteor app on http://localhost:3000/#.
  2. Make a change in client code
  3. Wait for it

Keep waiting for it. It never reloads.

This code:

if (window.location.hash) {
  window.location.reload();
} else {
  window.location.replace(window.location.href);
}

doesn't work when URL ends with the # char.

@mjmasn
Copy link
Contributor

@mjmasn mjmasn commented Jun 17, 2016

This would explain a few things...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants