diff --git a/NodeJs.uplugin b/NodeJs.uplugin index 9f3ea17..ddcbbf2 100644 --- a/NodeJs.uplugin +++ b/NodeJs.uplugin @@ -1,7 +1,7 @@ { "FileVersion": 3, "Version": 1, - "VersionName": "1.0.0", + "VersionName": "1.1.0", "FriendlyName": "NodeJs", "Description": "Embed node.js as an unreal plugin.", "Category": "Programming", diff --git a/Source/CommandLine/Private/NodeCmd.cpp b/Source/CommandLine/Private/NodeCmd.cpp index cf48aca..c4d9f3f 100644 --- a/Source/CommandLine/Private/NodeCmd.cpp +++ b/Source/CommandLine/Private/NodeCmd.cpp @@ -39,7 +39,7 @@ FNodeCmd::FNodeCmd() ProcessDirectory = FPaths::ConvertRelativePathToFull(FPaths::ProjectDir() + TEXT("Plugins/NodeJs-Unreal/Source/ThirdParty/node")); PluginContentRelativePath = TEXT("../../../Content/Scripts/"); - Socket = MakeShareable(new FSocketIONative); + Socket = MakeShareable(new FSocketIONative(false,true)); bShouldStopMainScriptOnNoListeners = false; bIsWatchingScript = false;