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

Comments

Projects
None yet
3 participants
@realyze
Contributor

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

This comment has been minimized.

Contributor

mjmasn commented Jun 17, 2016

This would explain a few things...

realyze added a commit to realyze/meteor that referenced this issue Jun 20, 2016

benjamn added a commit that referenced this issue Jun 21, 2016

@benjamn benjamn referenced this issue Jun 22, 2016

Merged

Release 1.3.4 #7263

6 of 6 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment