-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from MumrichNET/improve-logging
improve logging.
- Loading branch information
Showing
7 changed files
with
209 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
using System.IO; | ||
|
||
using Akka.Actor; | ||
|
||
using Mumrich.AkkaExt.Extensions; | ||
using Mumrich.SpaDevMiddleware.Domain.Contracts; | ||
using Mumrich.SpaDevMiddleware.Domain.Models; | ||
|
||
namespace Mumrich.SpaDevMiddleware.Actors | ||
namespace Mumrich.SpaDevMiddleware.Actors; | ||
|
||
public class SpaBuilderActor : ReceiveActor | ||
{ | ||
public class SpaBuilderActor : ReceiveActor | ||
public SpaBuilderActor(ISpaDevServerSettings spaDevServerSettings) | ||
{ | ||
public SpaBuilderActor(ISpaDevServerSettings spaDevServerSettings) | ||
foreach ((string _, SpaSettings value) in spaDevServerSettings.SinglePageApps) | ||
{ | ||
foreach ((string _, SpaSettings value) in spaDevServerSettings.SinglePageApps) | ||
{ | ||
DirectoryInfo directoryInfo = new(value.SpaRootPath); | ||
Context.ActorOfWithNameAndArgs<ProcessRunnerActor>(directoryInfo.Name, value); | ||
} | ||
DirectoryInfo directoryInfo = new(value.SpaRootPath); | ||
Context.ActorOfWithNameAndArgs<ProcessRunnerActor>(directoryInfo.Name, value); | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.