This repository was archived by the owner on Apr 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/Microsoft.AspNetCore.SpaServices/Webpack Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 11using System ;
22using System . IO ;
33using System . Threading ;
4- using System . Threading . Tasks ;
54using Microsoft . AspNetCore . NodeServices ;
65using Microsoft . AspNetCore . SpaServices . Webpack ;
7- using Microsoft . AspNetCore . Builder ;
8- using Microsoft . AspNetCore . Hosting ;
9- using Microsoft . Extensions . PlatformAbstractions ;
106using Newtonsoft . Json ;
11- using Microsoft . AspNetCore . Http ;
127
138namespace Microsoft . AspNetCore . Builder
149{
@@ -54,7 +49,7 @@ public static void UseWebpackDevMiddleware(
5449 // middleware). And since this is a dev-time-only feature, it doesn't matter if the default transport isn't
5550 // as fast as some theoretical future alternative.
5651 var nodeServicesOptions = new NodeServicesOptions ( appBuilder . ApplicationServices ) ;
57- nodeServicesOptions . WatchFileExtensions = new string [ ] { } ; // Don't watch anything
52+ nodeServicesOptions . WatchFileExtensions = new string [ ] { } ; // Don't watch anything
5853 if ( ! string . IsNullOrEmpty ( options . ProjectPath ) )
5954 {
6055 nodeServicesOptions . ProjectPath = options . ProjectPath ;
You can’t perform that action at this time.
0 commit comments