Skip to content

Commit 1ca3e40

Browse files
committed
feat: update ThemeWatchCommand prompt label and modify TailwindCSS build command for improved usability
1 parent b6699fd commit 1ca3e40

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Console/Command/ThemeWatchCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ protected function execute(InputInterface $input, OutputInterface $output): int
4848

4949

5050
$themeCodePrompt = new SelectPrompt(
51-
label: 'Select theme to build',
51+
label: 'Select theme to watch',
5252
options: $options,
5353
scroll: 10,
54-
hint: 'Arrow keys to navigate, Space to select, Enter to confirm',
54+
hint: 'Arrow keys to navigate, Enter to confirm',
5555
);
5656

5757
$themeCode = $themeCodePrompt->prompt();

src/Service/ThemeBuilder/TailwindCSS/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function watch(string $themePath, SymfonyStyle $io, OutputInterface $outp
174174

175175
try {
176176
chdir($tailwindPath);
177-
exec('npx tailwind -i ./src/css/input.css -o ./web/css/styles.css --watch');
177+
exec('npm run watch');
178178
} catch (\Exception $e) {
179179
$io->error('Failed to start watch mode: ' . $e->getMessage());
180180
return false;

0 commit comments

Comments
 (0)