Skip to content

Commit

Permalink
feat(mode): project focus flag
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Mar 9, 2019
1 parent 5bcfb12 commit ddd9499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mode/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function(options: xPlatOptions) {
const appFolders = appsDir.subdirs;
const apps = [];
for (const dir of appFolders) {
apps.push(`${appsDir.path}/${dir}`);
apps.push(`**/${appsDir.path}/${dir}`);
}
// targets and mode should be the same
return updateIDESettings(tree, name, name, projectNames, apps);
Expand Down
2 changes: 1 addition & 1 deletion src/utils/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ export function updateIDESettings(
userUpdates[app] = true;
}
for (const project of projectNames) {
userUpdates[`apps/${project}`] = false;
userUpdates[`**/apps/${project}`] = false;
}
}
// switch on/off platforms
Expand Down

0 comments on commit ddd9499

Please sign in to comment.