D
D
Dmitry2017-09-08 14:26:21
Angular
Dmitry, 2017-09-08 14:26:21

How to bypass ng serve after updating js files called in the component?

In the component, I add js code via
/some.component.ts

//some.component.ts    
ngAfterViewInit() {
        this._script.load('somefile.js');
    }

And if I change it, then I need to distort the entire server and wait a long time to see the changes. Is there a solution without reboot?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Abdulla Mursalov, 2017-09-08
@ritual

why did you need this? connect via .angular.cli.json

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question