I need to figure out how to get live reload working with my local web server. I'm using vagrant to host my project at http://admin.myproject.local and using angular-cli to build my app.
When using npm start I can view my changes live at http://localhost:4200 but nothing changes on my admin.myproject.local until a do a build. I've looked at the angular-cli docs and thought the proxy would be the solution. I created a proxy.conf.json file and added the following code:
{
"/admin": {
"target": "http://admin.myproject.local",
"secure": "false"
}
}
However this doesn't seem to help. If I try http://localhost:4200/admin I get a 404.
Can someone point me in the right direction to get live reloading working when accessing the site through my .local url?