I am currently trying to develop an app using the Ionic 2 framework within Visual Studio 2015. I created the project using CLI and then I imported it to my Visual Studio with no problems.
Then, I decided to make some changes inside the app directory (I added a new tab to the app with an OpenLayers 3 map, for example) and I found out that when I try to build the project and run it, the build directory inside www’s one is not updated with my changes and I am not sure if it is some kind of bug in Visual Studio or a misconfiguration I made. You can take a look at my code if you want here.
Does anyone have the same problem?. Thank you all.
PD: if I use the CLI to build the project it works perfectly and the build directory is really updated with all my changes.
PS: Any reason why are you not using VS Code instead? IMHO it’s much better suited for web development (esp. Ionic 2 and Angular 2 apps) than VS 2015. I still haven’t tried 2015 but based on my experience with the previous versions of VS, I definitely prefer VS Code.
And that’s all. Whenever you try now to build or run your app using Visual Studio 2015, this two tasks will be executed before building the project and the build directory inside www folder will be updated. Thanks