From 94e515c2888cbd6bcd2921da920e584d3026a302 Mon Sep 17 00:00:00 2001 From: "Benny C. Wong" Date: Thu, 18 Aug 2016 14:38:35 -0700 Subject: [PATCH] Add field to config to get live-reload working --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 73e0e3ae..58682c09 100644 --- a/README.md +++ b/README.md @@ -78,10 +78,12 @@ const Router = Ember.Router.extend(RouterScroll, {} ### Step 3: Update your app's locationType -Edit `config/environment.js` and change `locationType` +Edit `config/environment.js` and change `locationType`. +Also add `historySupportMiddleware: true,` to get live-reload working in nested routes. (See [Issue #21](https://github.com/dollarshaveclub/ember-router-scroll/issues/21)) ```js locationType: 'router-scroll' +historySupportMiddleware: true, ``` This location type inherits from Ember's `HistoryLocation`.