Skip to content

Use rsync to improve reload time in development mode #58

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

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

erikap
Copy link
Member

@erikap erikap commented Sep 29, 2023

Inspired by #54 use rsync to copy/sync files to improve reload time in development mode.

rsync is now used to:

  • sync source files from the mounted volume to the build folder
  • copy node_modules from the mounted volume to the build folder
  • copy transpiled coffeescript files

The rsync command is wrapped in a helper function docker-rsync using options to optimize local file copy in a Docker container.

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