Skip to content

[Bug]: "shopify app dev" swallows server logs and rebuild output on Ubuntu 24.04 (Hot Reload works, Terminal silent) #6726

@salman-sc

Description

@salman-sc

Issue Description: I am experiencing an issue on Ubuntu 24.04 where shopify app dev runs the app successfully, but swallows all runtime output.

Functionality: Hot-reload is working. If I change a file, the app updates in the browser.

The Problem: The terminal remains completely static. It does not show "rebuilding...", "file changed", or any console.log() output from the backend.

Impact: I cannot debug my app because server-side logs and errors are never printed to the terminal.

This appears to be an issue with how the CLI pipes stdout/stderr from the child process to the main terminal on Ubuntu 24.04. This same project works correctly (showing logs) on Windows.

Environment:

OS: Ubuntu 24.04 LTS

Shopify CLI Version: 3.88.0

Node Version: v20.19.6

Shell: Bash

Steps to Reproduce:

Run shopify app dev.

Wait for the server to start.

Add a console.log("TEST LOG") to a backend loader/action.

Save the file.

Refresh the app in the browser (the change takes effect).

Check the terminal.

Expected Behavior: The terminal should output the "TEST LOG" string and show build status updates.

Actual Behavior: The terminal shows nothing.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions