#!/usr/bin/env node
/* eslint-disable no-console */
'use strict';

import shell from 'shelljs';
import { fileURLToPath } from 'url';
import path from 'path';

async function main() {
  const __dirname = path.resolve(
    fileURLToPath(new URL('.', import.meta.url)),
    '..'
  );

  console.log(__dirname, import.meta.url);

  shell.exec(`cd ${__dirname} && npm run dev`);
}

main();
