I want to serve my app without using cd
I tried this:
ng s --servePath=\Projects\front-user\ --optimization --aot- And this:
ng s \Projects\front-user\ --optimization --aot
But I got Local workspace file ('angular.json') could not be found because I am doing something wrong with the path.
If I do cd /Projects/front-user/ && ng s --aot --optimization works perfectly but I would like to know if there is a way to specify the project path.
Thanks!
scripts: {"other" : "cd otherfolder && ng s "}then you can runnpm run otherng s?