Can we allow to specify a different file name for angular-cli.json or different directory aside from the project root when running command line such as NG SERVE?
e.g.
ng serve /build/admin/angular-cli.json
This is already possible with webpack and rollup. This make sense if one project codebase has multiple independent business modules and multiple deployment configuration as well.
Or do you have already an existing solution to this which is different from what I expected?
We aren't currently looking at supporting different angular-cli.json for a single project. We do plan to extend it to support several apps in in the same config though, but that's a medium term goal.
+1 as I want to harmonize commands with docker-compose.yml files rather than fragmenting logic across multiple gulpfiles/tasks - look at the mess that is material (https://github.com/angular/material2/tree/master/tools/gulp). Or at least provide a directory context for ng serve. This (from my docker-compose.yml) always execute in root rather than a child angular app:
command: bash -c 'npm install --unsafe-perm=true && node_modules/.bin/npm-recursive-install --skip-root && examples/node_modules/.bin/ng serve --host 0.0.0.0 --port 4200 --live-reload-port 49153'
+1 from me too. This to me is almost a core requirement for any app. Let us specify the config file please.
+1 from me. Using docker as well.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._