Registered a component with a bad importPath, but change is not propagating to generated code

I have registered a component with a bad importPath value. That has been fixed, but the change does not propagate and all auto generated components still point to the old importPath. What should be done in cases like that?

I already deleted the bad auto generated file but the sync command has recreated it with the wrong import.

Hey @lesser_meadowlark! Currently we need to detect the some change in the studio to fix the import.

Here’s an example of how you can fix it

We will add an option to fix it directly in the CLI. Sorry about that

Thank you! I really appreciate!

I noticed that you reloaded the studio in order to propagate the changes. Is this a must every time one changes the code or not always?

Just if you are making changes to the code-component meta