#init project

npm install git-template -g git-template cqw1022/pomelo_ts_template project_name master(branch name)

cd game-game-server-ts npm install

copy npm-pomelo to ./node_modules/

运行方式1:

运行:npm run build (可以自动编译ts代码)

cd game-server
npm install

运行:npm run dev(如果修改了代码可以自动重启)

运行方式2:

进入game-server-ts目录
动态编译:gulp dev
动态编译+动态运行:gulp dev_run
编译min js代码:gulp release