diff --git a/package-lock.json b/package-lock.json index d58520e..7513432 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@athenna/core", - "version": "5.8.0", + "version": "5.9.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@athenna/core", - "version": "5.8.0", + "version": "5.9.0", "license": "MIT", "dependencies": { "pretty-repl": "^3.1.2", @@ -17,7 +17,7 @@ "@athenna/common": "^5.5.0", "@athenna/config": "^5.1.0", "@athenna/cron": "^5.4.0", - "@athenna/http": "^5.11.0", + "@athenna/http": "^5.14.0", "@athenna/ioc": "^5.0.0", "@athenna/logger": "^5.1.0", "@athenna/test": "^5.2.0", @@ -130,9 +130,9 @@ } }, "node_modules/@athenna/http": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/@athenna/http/-/http-5.11.0.tgz", - "integrity": "sha512-t+/+07TePbg/p1qsgkp6qr6sXVhsYlmFDnpWywKD16PpFY3M2KKjgLC5ynuQHofYffj2nSUVlpPdWUYfiCtceQ==", + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/@athenna/http/-/http-5.14.0.tgz", + "integrity": "sha512-A4hqxlsu6QZBPHwEm5tGaOyQ4FoCF5cfBWcC3aKtM9yhC5ajFBTznezAJ6fZHWpOOO1ph/HyV22ublHTwd68WA==", "dev": true, "engines": { "node": ">=20.0.0" diff --git a/package.json b/package.json index ca62a19..4e52007 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/core", - "version": "5.8.0", + "version": "5.9.0", "description": "One foundation for multiple applications.", "license": "MIT", "author": "João Lenon ", @@ -85,7 +85,7 @@ "@athenna/common": "^5.5.0", "@athenna/config": "^5.1.0", "@athenna/cron": "^5.4.0", - "@athenna/http": "^5.11.0", + "@athenna/http": "^5.14.0", "@athenna/ioc": "^5.0.0", "@athenna/logger": "^5.1.0", "@athenna/test": "^5.2.0", diff --git a/src/commands/ServeCommand.ts b/src/commands/ServeCommand.ts index d80cc0d..1a7ddc5 100644 --- a/src/commands/ServeCommand.ts +++ b/src/commands/ServeCommand.ts @@ -44,17 +44,23 @@ export class ServeCommand extends BaseCommand { if (this.watch) { const nodemon = this.getNodemon() + const nodeArgs = [] + + if (this.vite) { + nodeArgs.push('--vite') + } nodemon({ script: entrypoint.replace('.ts', '.js'), + args: nodeArgs, ignore: [ '.git', '.github', '.idea', '.vscode', '.fleet', - Path.public(), - Path.resources('**/.edge'), + 'public', + '*.edge', 'node_modules/**/node_modules' ], watch: [