import { registerCleanup } from '../utils/shutdown.js'
import { startTrackingFeed, stopTrackingFeed } from '../utils/trackingFeed.js'

export default defineNitroPlugin(() => {
  startTrackingFeed()
  registerCleanup(stopTrackingFeed)
})
