Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import { NestFactory } from '@nestjs/core'
import { AppModule } from './app.module'
const repl = require('repl')
async function bootstrap () {
const app = await NestFactory.createApplicationContext(AppModule)
console.log('starting repl ...')
repl.start().context.app = app
}
;(async () => {
await bootstrap()
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment