Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ yarn-error.log
/public/img
/public/fonts
/public/mix-manifest.json
/public/build
/public/hot
/public/stats.json
tests/js/coverage
tests/coverage-report
Expand Down
5 changes: 5 additions & 0 deletions ProcessMaker/Providers/ProcessMakerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\Facades\Vite;
use Laravel\Horizon\Horizon;
use Laravel\Horizon\SystemProcessCounter;
use Laravel\Horizon\WorkerCommandString;
Expand Down Expand Up @@ -83,6 +84,10 @@ public function boot(): void
// Track the start time for service providers boot
self::$bootStart = microtime(true);

// Vite hot file must not be public/hot — that file is reserved for Mix HMR
// and would make mix('js/...') URLs point at the Vite dev server (404).
Vite::useHotFile(storage_path('vite.hot'));

// Set the current tenant
$this->setCurrentTenantForConsoleCommands();

Expand Down
Loading
Loading