ngx-monaco-editor icon indicating copy to clipboard operation
ngx-monaco-editor copied to clipboard

ng serve reload loop

Open obiwan007 opened this issue 2 years ago • 2 comments

If I change some file, the ng serve is trying to reload/recompile in an endless loop if using the glob asset extension in angular.json: "assets": [ { "glob": "**/*", "input": "node_modules/monaco-editor", "output": "assets/monaco-editor" }, ],

If I remove this then of cause the editor is not found but no issue at all with updating the files.

Using "@angular/cli": "12.2", "ngx-monaco-editor": "^12.0.0",

Any ideas? Is it possible to bundle also without the assets glob pattern?

obiwan007 avatar Jun 21 '22 11:06 obiwan007

Ever find a solution to this? I'm seeing the same issue

sbryfcz avatar Oct 18 '22 15:10 sbryfcz

I had the same issue, and I have realized that by putting only the required assets fixed the issue: { "glob": "**/*", "input": "node_modules/monaco-editor/min/vs", "output": "/assets/monaco/min/vs/" }

nhack avatar Mar 22 '23 12:03 nhack