Some small updates
This commit is contained in:
parent
24bea88a42
commit
9f4470dacb
@ -117,8 +117,8 @@ function deploy_client() {
|
||||
end_task "${project_name}_package" "Client successfully deployed!"
|
||||
}
|
||||
|
||||
install_npm
|
||||
compile_scripts
|
||||
compile_native
|
||||
package_client
|
||||
#install_npm
|
||||
#compile_scripts
|
||||
#compile_native
|
||||
#package_client
|
||||
deploy_client
|
||||
|
@ -13,7 +13,7 @@ import * as handle from "teaclient_connection";
|
||||
require = original_require;
|
||||
|
||||
const buffer_size = 24;
|
||||
const start_server = async () => {
|
||||
const start_server: () => Promise<string> = async () => {
|
||||
const server: net.Server = net.createServer();
|
||||
await new Promise(resolve => server.listen(30303, "localhost", resolve));
|
||||
|
||||
@ -78,7 +78,7 @@ start_server().catch(error => {
|
||||
object: upload ? source : destination,
|
||||
transfer_key: upload ? "ft_upload_data__" : "ft_download_data",
|
||||
|
||||
remote_address: address,
|
||||
remote_address: address as any,
|
||||
remote_port: 30303
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user