Skip to content

Instantly share code, notes, and snippets.

View monkey-company's full-sized avatar
🏠
Working from home

monkey-company

🏠
Working from home
View GitHub Profile
@monkey-company
monkey-company / index.js
Created January 28, 2023 07:00
Strapi dev mode from js file without command for server
#!/usr/bin/env node
'use strict';
// FIXME
/* eslint-disable import/extensions */
const _ = require('lodash');
const resolveCwd = require('resolve-cwd');
const { yellow } = require('chalk');
const { Command } = require('commander');