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

Live-reload Dev Server for j2cl:watch #63

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Jan 3, 2021

  1. Configuration menu
    Copy the full SHA
    35a7524 View commit details
    Browse the repository at this point in the history
  2. Default j2cl:build initialScriptFilename = ${artifactId}.js

    This change harmonizes j2cl:build and j2cl:watch outputs.
    
    Now that :watch copies resources like index.html to ${webappsDirectory}/${artifactId}/,
    it's not clear which <script> src to use for the output js
    (:watch needs src="/${artifactId}.js" to resolve, and :build
    needs src="/${artifactId}/${artifactId}.js").
    
    By setting :build's initialScriptFilename = ${artifactId}.js by default,
    index.html can simply use <script src="/${artifactId}.js"></script> without
    confusion.
    AugustNagro committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    4805db3 View commit details
    Browse the repository at this point in the history
  3. hot-reload feature

    AugustNagro committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    4035c59 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2021

  1. Configuration menu
    Copy the full SHA
    ae73da2 View commit details
    Browse the repository at this point in the history