title: angular-cli hmr and ngrx
body: <p>I am currently using an angular-cli project(1.0.0-beta.25.5) with ngrx to manage state.  I have followed <a href="https://medium.com/@beeman/tutorial-enable-hrm-in-angular-cli-apps-1b0d13b80130#.dzrm832lm" rel="noreferrer">this article</a> and managed to get hot module replacement working however I have not found a way to maintain state when this happens.</p>
  
  <p>I have seen the following but have been unable to get anything working or take inspiration:</p>
  
  <ul>
  <li><a href="https://github.com/CodeSequence/ngrx-store-hmr" rel="noreferrer">https://github.com/CodeSequence/ngrx-store-hmr</a> (older approach)</li>
  <li><p><a href="https://github.com/AngularClass/angular2-hmr" rel="noreferrer">https://github.com/AngularClass/angular2-hmr</a> (think you need access to webpack config to add loader)</p></li>
  <li><p><a href="https://stackoverflow.com/questions/40612859/angular-2-thoughs-about-hmr-and-ngrx-store">Angular 2 : Thoughs about HMR and @ngrx/store</a> (tried the get__HMR__state but didn't work for me)</p></li>
  </ul>
  
  <p>Does anyone have any ideas or suggestions on how to approach this? I wish to remain using the cli so need to find a way of integrating with this.</p>
  
  <p>Edit: Found someone with the same issue here as well <a href="https://github.com/ngrx/store/issues/311" rel="noreferrer">https://github.com/ngrx/store/issues/311</a></p>