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 1
1
using System ;
2
2
using System . IO ;
3
3
using System . Threading ;
4
- using System . Threading . Tasks ;
5
4
using Microsoft . AspNetCore . NodeServices ;
6
5
using Microsoft . AspNetCore . SpaServices . Webpack ;
7
- using Microsoft . AspNetCore . Builder ;
8
- using Microsoft . AspNetCore . Hosting ;
9
- using Microsoft . Extensions . PlatformAbstractions ;
10
6
using Newtonsoft . Json ;
11
- using Microsoft . AspNetCore . Http ;
12
7
13
8
namespace Microsoft . AspNetCore . Builder
14
9
{
@@ -54,7 +49,7 @@ public static void UseWebpackDevMiddleware(
54
49
// middleware). And since this is a dev-time-only feature, it doesn't matter if the default transport isn't
55
50
// as fast as some theoretical future alternative.
56
51
var nodeServicesOptions = new NodeServicesOptions ( appBuilder . ApplicationServices ) ;
57
- nodeServicesOptions . WatchFileExtensions = new string [ ] { } ; // Don't watch anything
52
+ nodeServicesOptions . WatchFileExtensions = new string [ ] { } ; // Don't watch anything
58
53
if ( ! string . IsNullOrEmpty ( options . ProjectPath ) )
59
54
{
60
55
nodeServicesOptions . ProjectPath = options . ProjectPath ;
You can’t perform that action at this time.
0 commit comments