Created
September 2, 2020 04:41
-
-
Save vijayakumar-psg587/0db18bf42946ab555d5fcb82ef07d036 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Node parameters: --require ts-node/register -r ts-node -r dotenv/config -r tsconfig-paths/register src/main.ts dotenv_config_path=./config/development/.env | |
// baiscally we need -require ts-node/register <things in nodemon exec> | |
NODE_ENV=dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stand alone nodejs -v16
./node_modules/.bin/ts-node -r tsconfig-paths/register src/index.ts
and just give the working directory