Closed
Description
Deep Linking Support Request
Currently when running ng serve and developing within a route, the current route is not reloaded, just the root of the application. As a developer using the CLI to ng serve
while doing development I expect the current route to reload when I make a change to my code. The actual result is that the application root is loaded and no additional routes are reloaded.
Steps to Reproduce
ng new foo
ng generate route test-route
#open foo.ts, find the test-route configuration and add the property: `useAsDefault: true`
ng serve
In the browser navigate to http://localhost:4200/
(which will redirect you to http://localhost:4200/test-route
because of the useDefaultRoute
) and you will see:
Refresh the browser (or make a change to your code, which will reload the browser) and you will see this: