UXP DevTool w/React: plugin build folder vs. dist

Hi,
is there any notable difference when developing a React-based UXP plugin between pointing the DevTool to the root and setting the Plugin Options > Advanced > Plugin Build Folder to the dist folder, versus loading it the dist directly, as if it was a vanilla plugin?
The latter seems to work fine to me in all my React projects, so I was wondering whether the first approach carries some benefit I’m not aware of.
Thanks!

Davide

There are some differences that can crop up when you’re watching a React plugin, especially if you have various clean steps in your build process. If you’re not cleaning your build folders, you’ll probably not notice any real differences, but if your dist folder gets removed as part of any cleaning process, then you might have some fun times (since your manifest.json is what the UDT anchors to – and if it disappears… :wink: )

Hi Kerri, thanks!
Strangely enough (?) I have zero problems, and the /dist is cleaned each time! ¯\__(ツ)__/¯
For once, I’m a lucky boy :wink:

Davide