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

The extensions is always asking for a Restart when having a workspace customization #1042

Closed
robertohuertasm opened this issue Jun 26, 2017 · 11 comments · Fixed by #1043 or #1045
Closed

Comments

@robertohuertasm
Copy link
Member

robertohuertasm commented Jun 26, 2017

VSCode: 1.13.1 & 1.14.0-insider

Since 7.10.0 has been published it seems that we introduced some kind of bug and the extension is always asking me for a restart when I'm working in my Angular project.

This doesn't happen in any other kind of projects.

I think the project detection system is messing with the manual change detection in the settings.

For the moment, I have to completely disable the new feature 😢

It's strange because I never observed this behavior when developing or testing.

@robertohuertasm robertohuertasm added this to the Next milestone Jun 26, 2017
@JimiC
Copy link
Member

JimiC commented Jun 26, 2017

Any reproduction steps? I will also need the current settings.

@robertohuertasm
Copy link
Member Author

robertohuertasm commented Jun 26, 2017

I just open the angular project and start into a restart loop without end. The weird thing is I open the same exact project while debugging the extension and it doesn't ask for a restart.

At the moment this is all the information I have. I'll check it out again tonight if I find some quiet moment.

@robertohuertasm
Copy link
Member Author

I've tested with a Nativescript project (which uses Angular) and I'm not having the issue so must be something specific about my project.

@JimiC
Copy link
Member

JimiC commented Jun 26, 2017

OK then. The debugging of the issue is all yours. 😄

@robertohuertasm
Copy link
Member Author

It seems that in order to reproduce this you have to have some icon customizations in your workspace settings:

"vsicons.associations.files": [
    { "icon": "karma",  "extensions": ["karma.conf.gitlab.js"], "filename": true, "format": "svg" }
  ]

@robertohuertasm
Copy link
Member Author

robertohuertasm commented Jun 26, 2017

Indeed, it is not only affecting Angular projects but any project with workspace or user icon customizations.

@robertohuertasm robertohuertasm changed the title The extensions is always asking for a Restart in Angular projects The extensions is always asking for a Restart when having a workspace customization Jun 26, 2017
@rnemec
Copy link

rnemec commented Jun 26, 2017

Confirming here too: icon customizations in workspace settings => "Restart" looping.

@robertohuertasm
Copy link
Member Author

@rnemec, @JimiC already provided a fix. We'll be publishing it tomorrow.

@rnemec
Copy link

rnemec commented Jun 26, 2017

@robertohuertasm - thank you. I guess you have it fully under control now, but FYI an additional test case is editing workspace settings - each Save triggers that "Reload" popup.

@robertohuertasm
Copy link
Member Author

@JimiC, it seems that it's still not working. I've just tested it before publishing but I keep receiving the same error.

@robertohuertasm
Copy link
Member Author

Fixed it in latest PR. Already published.

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