Update npm packages to latest versions
Fix JavaScript sourcemap paths to show full file locations Implement --build-debug flag and complete Build UI streaming Add xterm.js terminal UI and fix asset path routing Add RSpade Build UI service with WebSocket support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,8 @@ class Manifest_Build_Command extends FrameworkDeveloperCommand
|
||||
*/
|
||||
protected $signature = 'rsx:manifest:build
|
||||
{--force : Execute rsx:clean then rsx:manifest:build via PHP exec}
|
||||
{--clean : Clear all caches before building (forces complete rebuild)}';
|
||||
{--clean : Clear all caches before building (forces complete rebuild)}
|
||||
{--build-debug : Enable verbose build output (shows file-by-file processing)}';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
@@ -28,6 +29,20 @@ class Manifest_Build_Command extends FrameworkDeveloperCommand
|
||||
*/
|
||||
protected $description = 'Build or rebuild the RSX manifest (incremental by default, use --clean for full rebuild)';
|
||||
|
||||
/**
|
||||
* Create a new command instance
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
// Check if --build-debug flag is present in command line args
|
||||
// Define BUILD_DEBUG_MODE early so it's set before service providers boot
|
||||
if (in_array('--build-debug', $_SERVER['argv'] ?? [])) {
|
||||
define('BUILD_DEBUG_MODE', true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
@@ -35,6 +50,7 @@ class Manifest_Build_Command extends FrameworkDeveloperCommand
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
|
||||
// Handle --force flag: complete clean and rebuild via exec
|
||||
if ($this->option('force')) {
|
||||
// Execute rsx:clean
|
||||
|
||||
Reference in New Issue
Block a user