mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Revert IsWarning code path to avoid breaking change (e.g., if someone overrode OnErrorDataReceived to receive such lines)
This commit is contained in:
@@ -383,10 +383,6 @@ namespace Microsoft.AspNetCore.NodeServices.HostingModels
|
|||||||
{
|
{
|
||||||
OutputLogger.LogWarning(evt.Data);
|
OutputLogger.LogWarning(evt.Data);
|
||||||
}
|
}
|
||||||
else if (IsWarning(evt.Data))
|
|
||||||
{
|
|
||||||
OutputLogger.LogWarning(evt.Data);
|
|
||||||
}
|
|
||||||
else if (!initializationIsCompleted)
|
else if (!initializationIsCompleted)
|
||||||
{
|
{
|
||||||
_connectionIsReadySource.SetException(
|
_connectionIsReadySource.SetException(
|
||||||
@@ -412,11 +408,6 @@ namespace Microsoft.AspNetCore.NodeServices.HostingModels
|
|||||||
message.Contains("chrome-devtools:");
|
message.Contains("chrome-devtools:");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool IsWarning(string message)
|
|
||||||
{
|
|
||||||
return message.StartsWith("Warning:", StringComparison.OrdinalIgnoreCase);
|
|
||||||
}
|
|
||||||
|
|
||||||
private FileSystemWatcher BeginFileWatcher(string rootDir)
|
private FileSystemWatcher BeginFileWatcher(string rootDir)
|
||||||
{
|
{
|
||||||
if (_watchFileExtensions == null || _watchFileExtensions.Length == 0)
|
if (_watchFileExtensions == null || _watchFileExtensions.Length == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user