From 04290a362d66f469d0f237b29aa0a170b4ae87b8 Mon Sep 17 00:00:00 2001 From: khoinashtech Date: Mon, 16 Dec 2024 15:02:38 +0700 Subject: [PATCH] feat: edit init tailwind --- apps/nt-stylesheet/init-tailwind.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/nt-stylesheet/init-tailwind.js b/apps/nt-stylesheet/init-tailwind.js index 775362d..06a0762 100644 --- a/apps/nt-stylesheet/init-tailwind.js +++ b/apps/nt-stylesheet/init-tailwind.js @@ -1,7 +1,6 @@ import fs from 'fs' import { exec } from 'child_process' import readline from 'readline' - const isNotDevEnvironment = !process.env.INIT_CWD || process.env.INIT_CWD !== process.cwd() @@ -65,7 +64,7 @@ const createPostCSSConfig = (rl) => { ) } -if (!isNotDevEnvironment) { +if (isNotDevEnvironment) { const rl = readline.createInterface({ input: process.stdin, output: process.stdout,