Revert IsWarning code path to avoid breaking change (e.g., if someone overrode OnErrorDataReceived to receive such lines)
This commit is contained in:
parent
0c09c68b77
commit
8544714cbb
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue