notebook/bin/dev-restart
Andrew Brown da3475c2c0 Fix test failures and enhance document revision functionality
- Fix root URL redirect expectations (now redirects to /my/dashboard instead of /my/content)
- Fix Timeline authorizer to allow universe contributors to edit shared timelines
- Add comprehensive document revision UI with version history and comparison
- Enhance document revision controller with proper permissions and navigation
- Add document folder association and improved folder management
- Update development environment for better debugging with Spring watcher
- Add development tools (bin/dev-restart script, Spring configuration)

Tests: Fixed 5 failures, all pinning tests pass

🤖 Generated with Claude Code (https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:57:03 -07:00

16 lines
448 B
Bash

#!/usr/bin/env bash
# Script to cleanly restart the Rails development server
# This helps resolve "removed from module tree" errors
echo "Stopping Spring..."
spring stop 2>/dev/null || true
echo "Clearing Rails cache..."
rails tmp:clear 2>/dev/null || true
echo "Clearing bootsnap cache..."
rm -rf tmp/cache/bootsnap* 2>/dev/null || true
echo "Development environment reset complete!"
echo "You can now restart your Rails server with: rails s"