<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>


<h2 dir="auto">Current Behavior</h2>


<h2 dir="auto">Steps to Reproduce (for bugs)</h2>


<ol dir="auto">
<li></li>
<li></li>
<li></li>
<li></li>
</ol>
<h2 dir="auto">Context</h2>


<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td></td>
</tr>
<tr>
<td>node</td>
<td></td>
</tr>
<tr>
<td>OS</td>
<td></td>
</tr>
<tr>
<td>browser</td>
<td></td>
</tr>
<tr>
<td>etc</td>
<td></td>
</tr>
</tbody>
</table>
<p dir="auto">Hot module reloading does not work for <code class="notranslate">.tsx</code> pages in Next5.</p>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Editing, for example, <code class="notranslate">pages/index.tsx</code>, should cause HMR to reload part of index.tsx.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">A browser warning is issued and the full page is reloaded:</p>
<p dir="auto"><code class="notranslate">Ignored an update to unaccepted module ./pages/index.tsx -&gt; 2</code></p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/425787/36079000-fedcaa9e-0f32-11e8-9b67-28915764ac2f.png"><img width="1322" alt="screenshot 2018-02-11 13 53 34" src="https://user-images.githubusercontent.com/425787/36079000-fedcaa9e-0f32-11e8-9b67-28915764ac2f.png" style="max-width: 100%;"></a></p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li>Copy the with-typescript example into a clean directory</li>
<li>Edit package.json to next@5.0.1-canary.4</li>
<li>yarn install &amp;&amp; yarn dev</li>
<li>Visit localhost:3000, open console.</li>
<li>Edit pages/index.tsx and save</li>
<li>Observe warning in the console and full reload.</li>
</ol>
<p dir="auto">I've observed this in next 5.0.0, 5.0.1-canary.2, and 5.0.1-canary.4 (canary3 not tested)<br>
Chrome Version 64.0.3282.140<br>
OSX High Sierra 10.13.3</p>