Skip to content

Commit

Permalink
fix: add log in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Theryston committed Sep 6, 2022
1 parent e71a3bb commit 5a94385
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/tiktoker
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ var wantsCompiled = process.argv.indexOf('--compiled-build') >= 0
if (wantsCompiled || !devMode) {
require(`${__dirname}/../build/cli`).run(process.argv)
} else {
console.log('>>>>>>> Running in dev mode <<<<<<<\n')
require('ts-node').register({ project: `${__dirname}/../tsconfig.json` })
require(`${__dirname}/../src/cli`).run(process.argv)
}

0 comments on commit 5a94385

Please sign in to comment.