coder-config 0.46.3-beta → 0.46.5-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@
19
19
 
20
20
  <!-- PWA Manifest -->
21
21
  <link rel="manifest" href="/manifest.json">
22
- <script type="module" crossorigin src="/assets/index-DCNTqTzf.js"></script>
22
+ <script type="module" crossorigin src="/assets/index-CGquP1xy.js"></script>
23
23
  <link rel="stylesheet" crossorigin href="/assets/index-7pv_0wlM.css">
24
24
  </head>
25
25
  <body>
package/ui/server.cjs CHANGED
@@ -479,10 +479,9 @@ class ConfigUIServer {
479
479
  if (req.method === 'POST') {
480
480
  this.json(res, { success: true, message: 'Server restarting...' });
481
481
  setTimeout(() => {
482
- const child = spawn(process.argv[0], process.argv.slice(1), {
483
- detached: true, stdio: 'ignore', cwd: process.cwd(), env: process.env
484
- });
485
- child.unref();
482
+ // Just exit - LaunchAgent will restart us from the plist config,
483
+ // which will pick up the newly installed version
484
+ console.log('[restart] Exiting for restart...');
486
485
  process.exit(0);
487
486
  }, 500);
488
487
  return;