I'm using Angular (version 4) and my code changes do not cause an automatic build of the application.
The default is to make the changes in the code and already give the automatic build, as you get started from Angular itself.
This is my app.module
@NgModule({
declarations: [
AppComponent,
AdminLayoutComponent,
AuthLayoutComponent,
BreadcrumbsComponent,
TitleComponent,
],
imports: [
BrowserModule,
HttpClientModule,
BrowserAnimationsModule,
SharedModule,
RouterModule.forRoot(AppRoutes),
FormsModule,
HttpModule,
ScrollModule,
NgDatepickerModule
],
exports: [ScrollModule],
providers: [
UserService, {
provide: HTTP_INTERCEPTORS,
useClass: TokenInterceptor,
multi: true
},
UnitService
],
bootstrap: [AppComponent]
})
export class AppModule {}
I'm running with the application with ng serving through a linux terminal. I already tested it directly in Visual Studio Code, but without success too.