Watch for changes does not appear to monitor the plugin manifest

I noticed in my tests that the Watch for changes option in UDT does not check for changes to the plugin manifest,

image

Can anyone verify this?

Load your plugin with UDT and then make changes to the manifest. See if the changes are loaded in?

If this is true is this a bug or is there a reason for it?

Do you use it with or without Webpack in Watch mode? If you rely on webpack then I had to add plugin as used here: alchemist/webpack.config.js at dev3 · jardicc/alchemist · GitHub

But it might not solve all issues :smiley:

1 Like

HI Jarda,

I use vanilla JS. LOL. It watches my plugin folder great. But when I make changes to the plugin manifest it does not seem to notice.

Ok… so in that case it is up to DevTool to add support also for manifest. It would be handy for me too.

1 Like

Same here. IIRC even plugin refresh doesn’t help and you have to reload it. It kinda makes sense, because plugin is basically loaded from manifest, so I doubt watcher could be added for manifest easily. I mean, unless UDT will manage to fully reload the plugin from changed manifest and again turn watcher back on and also open dev tools of it was open, then I don’t see support for watching manifest coming any time soon

1 Like

Maybe it could be a separate feature. Or additional settings.

I don’t think it’s worth implementing. I believe technical challenge is way too big compared to the value it would bring. How often do you change the manifest while developing? At least for me it would be almost useless - I set up manifest first, then develop a plugin, then update manifest if needed. So mostly it’s two times I edit manifest. OK, maybe third time when I do all the icons for plugin and panels :thinking: Yes, I’ve been there, when I got a bit surprised when I didn’t see changes, but it was maybe a couple of times at the very beginning of development. Maybe some alert would be nice if UDT detects manifest change, but I don’t know if would want for plugin to be completely reloaded (refresh is different) without my knowledge :confused:

Therefore separate checkbox in the context menu :smiley:
I don’t see it as that much complicated… add one file into file watcher. Then trigger unload and load command. That is it.

When I tried to set up permissions correctly for localhost communication and changed it quite often because there was a bug and was trying to find how to write it correctly :smiley: