@xaidenlabs/uso 1.1.41 → 1.1.42
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.
- package/package.json +1 -1
- package/src/commands/workflow.js +5 -4
package/package.json
CHANGED
package/src/commands/workflow.js
CHANGED
|
@@ -359,7 +359,7 @@ const dev = async () => {
|
|
|
359
359
|
|
|
360
360
|
// Wait for validator to be ready
|
|
361
361
|
const spin = spinner('Waiting for Validator to respond...').start();
|
|
362
|
-
let retries =
|
|
362
|
+
let retries = 60; // 60 seconds (Increased for Windows genesis unpacking)
|
|
363
363
|
while (retries > 0) {
|
|
364
364
|
if (isValidatorRunning()) {
|
|
365
365
|
spin.succeed("✅ Validator is online.");
|
|
@@ -370,12 +370,13 @@ const dev = async () => {
|
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
if (retries === 0) {
|
|
373
|
-
spin.warn("⚠️ Validator might be taking a while to start.
|
|
373
|
+
spin.warn("⚠️ Validator might be taking a while to start. Check the blue window.");
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
|
|
377
377
|
log.info("🧪 Running initial tests...");
|
|
378
|
-
|
|
378
|
+
// Fix: Pass --skip-local-validator directly (without --) so Anchor consumes it
|
|
379
|
+
test(['--skip-local-validator']);
|
|
379
380
|
|
|
380
381
|
log.header("👀 Watching for changes...");
|
|
381
382
|
log.info("👉 Change any .rs or .ts file to re-run tests.");
|
|
@@ -389,7 +390,7 @@ const dev = async () => {
|
|
|
389
390
|
|
|
390
391
|
console.clear();
|
|
391
392
|
log.header("🔄 Detected change. Re-running tests...");
|
|
392
|
-
test(['--
|
|
393
|
+
test(['--skip-local-validator']);
|
|
393
394
|
log.header("👀 Watching for changes...");
|
|
394
395
|
};
|
|
395
396
|
|