Skip to content

Commit

Permalink
fix: missed change in module switch
Browse files Browse the repository at this point in the history
  • Loading branch information
markhughes committed Nov 21, 2024
1 parent b52bdf6 commit 7bb30bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/cli/lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import { server, paths, resources, log, cfg, db } from "@droppyjs/server";

import minimist from "minimist";

import daemonize from 'daemonize-process';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

Expand Down Expand Up @@ -58,7 +60,7 @@ if (argv.v || argv.V || argv.version) {
}

if (argv.daemon || argv.d) {
require("daemonize-process")();
daemonize();
}

if (argv.configdir || argv.filesdir || argv.c || argv.f) {
Expand Down

0 comments on commit 7bb30bc

Please sign in to comment.