I am a relative newbie in Angular 5, and am trying to setup a development setup for my team to build an Angular 5 application.
What I would like is for the team to be able to run linting & unit tests every time a change is made, and then serve up the changes so that the developer can immediately see the changes she is making.
I have tried the following:
- Running
ng lint
will lint the project - Running
ng test
gets the Karma test runner started and any changes made to the code immediately kicks off the tests and provides feedback to the developer if any changes that were just introduced resulted in a broken test. - Running
ng serve
will internally start the webpack-dev-server and build the project and serve it, so that the added/modified functionality will immediately become visible for the developer to try and validate on the browser.
What I want to achieve is for the developers to get constant feedback on all three of the above aspects --- linting errors, broken tests, and serve the functionality --- as they continue to work on developing the project.
Is there a way to get all three of these running together and visible to the developers with each change made to the code?