Switch to using the new soy file supplier added in [] This will allow for the java binary to continuously check for new files instead of only checking at start up.
Tested with:
[]
and
[]
GITHUB_BREAKING_CHANGES=no breakage. just adding an additional public method.
@@ -277,6 +277,14 @@ public final class SoyFileSet {
return this;
}
+ /**
+ * Adds an input Soy file, given a {@code CharSource} for the file content, as well as the
+ * desired file path for messages.
+ */
+ public Builder add(SoyFileSupplier soyFileSupplier) {
+ return addFile(soyFileSupplier);
+ }
+
/**
* Adds an input Soy file, given a {@code CharSource} for the file content, as well as the
* desired file path for messages.
