I have created a project in Angular 2 within a JavaScript project.
I need to use data and objects, within this Angular application, that are in external files and can not be moved from there.
By making use of the CLI ng serve
command and creating my App in http://localhost:4200/
the files, obviously it does not collect them, although doing a ng build --prod
of the application this is solved, but then I must be executing this command constantly for each change to see the actual results with the external files.
Is there a solution to make use of these files with their data and objects during the testing phase, which would be equivalent to http://localhost:4200/
?