Skip to content

Conversation

@mohamedaleya
Copy link
Contributor

Description

Replace the dev command to run both the storybook and server middleware together using concurrently

Changes Made

  • ✅ Add concurrently as dev dependency
  • ✅ Update dev command to run both storybook and server middleware simultaneously
  • ✅ Add dev:build command to preserve original tsup watch functionality
  • ✅ Configure color-coded output (blue for storybook, green for server) for better developer experience

Testing

  • Verified both storybook and server start correctly with pnpm dev
  • Confirmed color-coded output works as expected
  • Tested that both services run concurrently without issues

Related Issue

Closes #289

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Enhancement (improvement to existing functionality)

Developer Experience

This change significantly improves the development workflow by allowing developers to start both the Storybook development server and the backend middleware with a single command, making the development setup much more convenient.

@mohamedaleya mohamedaleya self-assigned this Sep 4, 2025
@codesandbox
Copy link

codesandbox bot commented Sep 4, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Member

@AminDhouib AminDhouib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested. Well done!

@AminDhouib AminDhouib merged commit e6d5529 into master Sep 17, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

replace the dev command to run both the storybook and server middleware together using concurrently

3 participants