Skip to content

Instantly share code, notes, and snippets.

@HeGanjie
Created April 23, 2018 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HeGanjie/af2f697e7f817ce301752f48f125025c to your computer and use it in GitHub Desktop.
Save HeGanjie/af2f697e7f817ce301752f48f125025c to your computer and use it in GitHub Desktop.
quick run typescript
npx -p typescript -p ts-node -c "nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.spec.ts' --exec 'ts-node' src/server/app.ts"
debug:
npm i ts-node --no-save
npx -p typescript -p ts-node -c 'node -r ts-node/register --inspect-brk src/server/app.ts'
npx webpack --progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment