Blank page after automatic reload
- Dominant language
- JavaScript
- Stars
- 402
- Forks
- 134
- PR merge metrics
- No merged PRs in 30d
Description
**I'm submitting a bug report**
* **Library Version:**
CLI `0.30.1`
Framework `1.1.4`
**Please tell us about your environment:**
* **Operating System:**
Windows 10
* **Node Version:**
6.9.4
* **NPM Version:**
4.1.1
* **Browser:**
Chrome 60 but I guess it happens in other browsers as well
* **Language:**
TypeScript 2.4.2
**Current behavior:**
From time to time my page stays blank after an automatic reload due to changes in the source code. If this happens I have to stop & restart the `watch` task which I've started with `au run --env my-env --watch`.
After the restart everything is back to normal for some time.
Until now I wasn't able to figure out what might causes the issue but can only tell that it happens very frequently (~ once every 5 - 10 minutes). Needless to say that having to restart the task that often is very distracting...
When this happens, my network tab shows me that the `vendor-bundle.js` is loaded but my `app-bundle.js` which usually follows afterwards is not.
Please let me know if I can give you any more information. I'd be really happy if we could somehow eliminate this issue!
Contributor guide
Research direction
Start by reproducing the issue with `au run --env my-env --watch` and observe the network requests during repeated source changes. Focus on the case where `vendor-bundle.js` loads but `app-bundle.js` does not; done means automatic reloads consistently restore the page without restarting the watch task.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, typescript
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100