-
Notifications
You must be signed in to change notification settings - Fork 21
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 not working #124
Comments
for "leave page blank" const init$: Stream<string> = sources.router.history$
.take(1)
.map(({ pathname }: Location) =>
pathname === '/' ? '/yourInitialRoute' : pathname
); |
Found the issue, waiting for a new release now |
I ran
Is the issue somewhere else, not in the router? |
I've recently configured an app to use cycle and HMR, and there's something I don't undersand about Webpack is configured with HMR but there is nothing I can see that manages it. The only module I've found for this is cycle-restart, but, unlike other HMR packages out there, it doesn't modify modules at compile time to make them react to hot reloads. In my own setup I have two files:
The reason for this split is that I don't want @jvanbruegge does the router fix solve the same issue? or would this be a good PR for |
Code to reproduce the issue:
create-cycle-app my-app && cd my-app
npm start
counter.tsx
. Webpack recompiles but browser page doesn't changeWaiting for update signal from WDS
Expected behavior:
Page reloads after webpack recompiles
Versions of packages used:
create-cycle-app version: 5.0.0
The text was updated successfully, but these errors were encountered: