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

On-demand build time render for when using watch with the development server #368

Closed
wants to merge 2 commits into from

Conversation

agubler
Copy link
Member

@agubler agubler commented Jan 22, 2020

Type: feature

The following has been addressed in the PR:

  • There is a related issue
  • All code has been formatted with prettier
  • Unit or Functional tests are included in the PR
  • schema.json has been updated appropriately

Description:

Adds an express middleware that runs build time rendering (if the application is configured for btr in the .dojorc) for the requested page on-demand. This means that the full build time rendering process does not have to be executed every time a project re-builds. Once BTR has been executed it will not run again until the watch build has re-run.

Note: Currently only available for full static applications as when applications load javascript the routing system does not make the required requests to the server.

Related to #367

Note: requires release of webpack-contrib

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