Fix devcontainer websocket/port issues, update/add npm scripts

This commit is contained in:
2025-12-03 21:51:21 +00:00
parent 0b88b3d5e5
commit a54c729e46
5 changed files with 123 additions and 4 deletions

12
.env.development Normal file
View File

@@ -0,0 +1,12 @@
# WebSocket configuration for dev server
# This ensures hot-reloading works correctly when accessing via VS Code port forwarding
WDS_SOCKET_PORT=0
# File watching configuration
# Enable polling only if you experience file change detection issues in the container
# CHOKIDAR_USEPOLLING=true
# React Fast Refresh
# Keep enabled for better developer experience (hot reloading without losing state)
# Set to false only if you experience issues with Fast Refresh
# FAST_REFRESH=false