Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a recreate recipe for frontend #2042

Merged
merged 7 commits into from May 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions justfile
Expand Up @@ -190,6 +190,12 @@ recreate:
just up "--force-recreate --build"
just init

# Bust pnpm cache and reinstall Node.js dependencies
node-recreate:
find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +
rm -rf $(pnpm store path)
pnpm install

# Show logs of all, or named, Docker services
logs services="" args=(if IS_CI != "" { "" } else { "-f" }):
just dc logs {{ args }} {{ services }}
Expand Down