Browse Source

fix: missing changes to run-selfhosted.js

KernelDeimos 4 months ago
parent
commit
6f4b1bf94a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tools/run-selfhosted.js

+ 4 - 0
tools/run-selfhosted.js

@@ -87,6 +87,7 @@ const main = async () => {
         BroadcastModule,
         TestDriversModule,
         PuterAIModule,
+        DevelopmentModule
     } = (await import('@heyputer/backend')).default;
 
     const k = new Kernel({
@@ -101,6 +102,9 @@ const main = async () => {
     k.add_module(new BroadcastModule());
     k.add_module(new TestDriversModule());
     // k.add_module(new PuterAIModule());
+    if ( process.env.UNSAFE_PUTER_DEV ) {
+        k.add_module(new DevelopmentModule());
+    }
     k.boot();
 };