Search code examples
angularstarling-server

Angular running an older version of the project from somewhere


probably due to a mis-keyboard press the angular is running a 2 day old project file and not running the current one on $ ng serve. Any changes I make to the files, does not show-up in the result. It means it is serving files from somewhere else, how can I know the location and make the changes to work it with the original project. I've tried to uninstall all the packages and reinstalled, including the CLI but not working. There is no duplicate file in the project directory and the directory from where I am running the project is the correct one. Thanks in Advance :)


Solution

  • Kill all the processes. Find the dist folder and delete it. Then restart.

    I'm guessing that you have either a running process and/or the dist folder hasn't been correctly updated.