Starting Node.js server w/ Gulp “connect” breaks on live reload (Angular app w/ html5 mode)
I'm trying to solve a problem that's been bugging me for awhile. The Scenario: The problem is when I use Gulp to start up my local server w/ Live Reload. It starts up my Angular app just fine, but when I make a file change Live Reload (page refreshes) breaks my app and gives me a "CANNOT GET" because my server.js (node server) file has a special way that it redirects the user to my "index.html" file. The reason for this is because I have "HTML5 mode" enabled in the Angular app (for pretty URL's) and I have to specify this in the server.js file for it to properly work. Before I turned "html5 on