nim_websitecreator icon indicating copy to clipboard operation
nim_websitecreator copied to clipboard

Improve stability of plugin enabling/disabling

Open ThomasTJdev opened this issue 5 years ago • 0 comments

CC @juancarlospaco, what do you think?

Our recompile function is sometimes unstable. Suggestion:

  1. Activate recompile from the browser UI
  2. NimWC launcher stops nimwc_main subrunner
  3. NimWC launcher moves nimwc_main to a backup location
  4. NimWC launcher runs startupCheck(), which will recompile nimwc_main
  5. If recompiling fails, NimWC launcher will move the backup of nimwc_main back and report the output of the compiling error

Using the method above, we will keep the recompling out of the subrunner, and NimWC launcher will be in control.

ThomasTJdev avatar Sep 07 '19 09:09 ThomasTJdev