import { registerTSPaths } from '../server/helpers/register-ts-paths'
+registerTSPaths()
+
import { WEBSERVER } from '../server/initializers/constants'
import { ActorFollowModel } from '../server/models/activitypub/actor-follow'
import { VideoModel } from '../server/models/video/video'
import { initDatabaseModels } from '../server/initializers'
import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent'
-registerTSPaths()
-
run()
.then(() => process.exit(0))
.catch(err => {