@nx-dotnet/core
Advanced tools
Comparing version 0.0.6-dev.43 to 0.0.6-dev.44
{ | ||
"name": "@nx-dotnet/core", | ||
"version": "0.0.6-dev.43", | ||
"version": "0.0.6-dev.44", | ||
"main": "src/index.js", | ||
@@ -9,5 +9,6 @@ "generators": "./generators.json", | ||
"dependencies": { | ||
"@nx-dotnet/dotnet": "0.0.6-dev.43", | ||
"@nx-dotnet/utils": "0.0.6-dev.43" | ||
"@nx-dotnet/dotnet": "0.0.6-dev.44", | ||
"@nx-dotnet/utils": "0.0.6-dev.44", | ||
"chokidar": "^3.5.1" | ||
} | ||
} |
@@ -10,16 +10,17 @@ "use strict"; | ||
const nxProjectConfiguration = utils_1.getExecutedProjectConfiguration(context); | ||
const projectFilePath = utils_1.getProjectFileForNxProject(nxProjectConfiguration); | ||
return new Promise((resolve) => { | ||
resolver = resolve; | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
const watcher = chockidar | ||
.watch(nxProjectConfiguration.root) | ||
.on('all', () => { | ||
if (childProcess) { | ||
childProcess.kill(0); | ||
} | ||
dotnetClient.run(projectFilePath, Object.keys(options).map((x) => ({ | ||
flag: x, | ||
value: options[x], | ||
}))); | ||
return utils_1.getProjectFileForNxProject(nxProjectConfiguration).then(project => { | ||
return new Promise((resolve) => { | ||
resolver = resolve; | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
const watcher = chockidar | ||
.watch(nxProjectConfiguration.root) | ||
.on('all', () => { | ||
if (childProcess) { | ||
childProcess.kill(0); | ||
} | ||
dotnetClient.run(project, Object.keys(options).map((x) => ({ | ||
flag: x, | ||
value: options[x], | ||
}))); | ||
}); | ||
}); | ||
@@ -26,0 +27,0 @@ }); |
@@ -44,3 +44,3 @@ "use strict"; | ||
serve: { | ||
executor: '@nx-dotnet/core:build', | ||
executor: '@nx-dotnet/core:serve', | ||
options: { | ||
@@ -47,0 +47,0 @@ configuration: 'Debug' |
Sorry, the diff of this file is not supported yet
36826
774
3
+ Addedchokidar@^3.5.1
+ Added@nx-dotnet/dotnet@0.0.6-dev.44(transitive)
+ Added@nx-dotnet/utils@0.0.6-dev.44(transitive)
+ Addedanymatch@3.1.3(transitive)
+ Addedbinary-extensions@2.3.0(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedchokidar@3.6.0(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedfsevents@2.3.3(transitive)
+ Addedglob-parent@5.1.2(transitive)
+ Addedis-binary-path@2.1.0(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addednormalize-path@3.0.0(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedreaddirp@3.6.0(transitive)
+ Addedto-regex-range@5.0.1(transitive)
- Removed@nx-dotnet/dotnet@0.0.6-dev.43(transitive)
- Removed@nx-dotnet/utils@0.0.6-dev.43(transitive)