Skip to content

Commit

Permalink
Fix ignored --projectRoot/watchFolders arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador committed Sep 18, 2018
1 parent ade04d0 commit 20f4e87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions local-cli/server/runServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ async function runServer(args: Args, config: ConfigT) {
config.server.port = args.port;
config.reporter = reporter;
config.resetCache = args.resetCache;
config.projectRoot = args.projectRoot;
config.watchFolders = args.watchFolders.slice(0);
config.server.enhanceMiddleware = middleware =>
middlewareManager.getConnectInstance().use(middleware);

Expand Down

0 comments on commit 20f4e87

Please sign in to comment.