Open gsipic opened 3 months ago
Hi, there is problem when we use costume url link for config LiveReloadScriptUrl.
Problem is with this code :
if (string.IsNullOrEmpty(_ClientScriptString)) { // Load `/LiveReloadClientScript.js from resource stream lock (_ClientScriptString) { if (string.IsNullOrEmpty(_ClientScriptString)) { using (var scriptStream = Assembly.GetExecutingAssembly() .GetManifestResourceStream("Westwind.AspNetCore.LiveReload.LiveReloadClientScript.js")) { if (scriptStream == null) throw new InvalidDataException("Unable to load LiveReloadClientScript.js Resource"); var buffer = new byte[scriptStream.Length]; scriptStream.Read(buffer, 0, buffer.Length); _ClientScriptString = System.Text.Encoding.UTF8.GetString(buffer); } } } }
Its always using internal Westwind.AspNetCore.LiveReload.LiveReloadClientScript.js
Hi, there is problem when we use costume url link for config LiveReloadScriptUrl.
Problem is with this code :
Its always using internal Westwind.AspNetCore.LiveReload.LiveReloadClientScript.js