Skip to content

Conversation

@pjcdawkins
Copy link

This is an alternative to #82 and #468, developed via testing on Upsun.

  • Use cp -Rs to copy directories but symlink files - to improve speed.
  • Only copy files if the build has changed (detected via the tree ID).
  • Wait for files to be copied before starting Next.js.

* Use `cp -Rs` to copy directories but symlink files - to improve speed.
* Only copy files if the build has changed (detected via the tree ID).
* Wait for files to be copied before starting Next.js.
* Add `set -e` to hooks to ensure a failing command will fail the hook.
* Remove handle_mounts.sh.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant