Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng serve reload loop #257

Open
obiwan007 opened this issue Jun 21, 2022 · 2 comments
Open

ng serve reload loop #257

obiwan007 opened this issue Jun 21, 2022 · 2 comments

Comments

@obiwan007
Copy link

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?

@sbryfcz
Copy link

sbryfcz commented Oct 18, 2022

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

@nhack
Copy link

nhack commented Mar 22, 2023

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/" }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants