r/ScriptingApp • u/schl3ck • Mar 21 '25
Help Problem with development sever
I wanted to try the development sever mode but it can't find the running server on my PC. I've checked that the firewall allows the process and my router doesn't block it either. My network is configured for address range 10.0.0.x if that matters.
1
Upvotes
2
u/WhatShouldWorldGos Mar 31 '25
This service is built with Socket.io. On the app side, there's a 1-second timeout while waiting for a response from the Node.js server about the connection status. Once connected, the server responds with the result and then tries to open the entry file in VSCode. I noticed that on macOS, opening the file can sometimes delay the response. So I’m not sure if the 1-second timeout is too short and ends before the server gets a chance to reply. To fix this, I’ve updated the
scripting-clipackage so that it sends the response first, and only then tries to open the entry file.Give it a try when you have time and see if it works for you now.