XYOracleNetwork/clients

View on GitHub
packages/cli/src/lib/process/restart.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { clearLogs } from './logs/index.js'
import { start } from './start.js'
import { stop } from './stop.js'

export const restart = async (daemonize = false) => {
  await stop()
  await clearLogs()
  return start(daemonize)
}