提交 05ddf3e4 编写于 作者: K Kyle Gallagher 提交者: Tim Neutkens

Small fix to example custom-server-typescript (#6695)

I noticed that the nodemon.json file was not watching for all file changes in the correct location for filetype .ts (typescript). After some research I found that the "ext" option in the nodemon.json fixes the issue and should work across all operating systems. 
上级 6104a71a
{
"watch": ["server/**/*.ts"],
"watch": ["server"],
"ext": "ts",
"exec": "ts-node --project tsconfig.server.json server/index.ts"
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册