mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 04:37:14 +01:00
- Fix currency defaults (SATS → CHF) across forms, configs, and API routes - Remove @ts-nocheck from socialService.ts and improve type safety - Replace console.log statements with proper logger utility in production code - Additional type safety improvements and code quality enhancements - Documentation updates for improved maintainability All changes follow DRY, SSOT, and separation of concerns principles.
46 lines
960 B
Bash
Executable File
46 lines
960 B
Bash
Executable File
#!/bin/bash
|
|
# Check and display file watcher limits
|
|
|
|
echo "📊 File Watcher System Limits:"
|
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
echo "Current ulimit (file descriptors): $(ulimit -n)"
|
|
echo "System max files: $(cat /proc/sys/fs/file-max 2>/dev/null || echo 'N/A')"
|
|
echo ""
|
|
echo "📁 Project Directory:"
|
|
echo " $(pwd)"
|
|
echo ""
|
|
echo "✅ Watchman Config:"
|
|
if [ -f .watchmanconfig ]; then
|
|
echo " Found .watchmanconfig"
|
|
cat .watchmanconfig | head -5
|
|
else
|
|
echo " No .watchmanconfig found"
|
|
fi
|
|
echo ""
|
|
echo "🔧 Next.js Watch Options:"
|
|
echo " Configured in next.config.js to limit watching to project directory only"
|
|
echo ""
|
|
echo "💡 If you still see EMFILE errors:"
|
|
echo " 1. Make sure you're running from the project root"
|
|
echo " 2. Check that .watchmanconfig is properly configured"
|
|
echo " 3. Restart the dev server after changes"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|