Plugin code does not take effect in real time

When using wabpack + react to develop the figma plug-in, the ui.js and HTML of my code are new, but the old code is displayed in the figma desktop app. The operation mode is Menu > plugins > run last plugin. What should I do?

@hugo8 does the manifest.json point to the right location of the code? When you develop with webpack, the location of the code in the manifest.json should be something like this:

  "api": "1.0.0",
  "main": "dist/code.js",
  "ui": "dist/ui.html",
  "editorType": [