Skip to content

Commit

Permalink
Merge pull request #17 from AthennaIO/develop
Browse files Browse the repository at this point in the history
fix: remove build
  • Loading branch information
jlenon7 authored May 8, 2022
2 parents 555d958 + 8c0d7c6 commit d02c076
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/artisan",
"version": "1.1.6",
"version": "1.1.7",
"description": "The Athenna CLI application. Built on top of commander.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down
7 changes: 3 additions & 4 deletions src/Commands/Serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
*/

import nodemon from 'nodemon'
import { pathToFileURL } from 'node:url'

import { Path } from '@secjs/utils'
import { Artisan, Command } from '#src/index'
import { pathToFileURL } from 'node:url'

import { Command } from '#src/index'

export class Serve extends Command {
/**
Expand Down Expand Up @@ -48,8 +49,6 @@ export class Serve extends Command {
async handle(options) {
process.env.BOOT_LOGS = 'true'

await Artisan.call('build')

if (options.watch) {
const ignorePaths = `--ignore ${Path.tests()} ${Path.storage()} ${Path.nodeModules()}`

Expand Down
1 change: 1 addition & 0 deletions src/Helpers/ArtisanLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export class ArtisanLoader {
static loadHttp() {
return [
...ArtisanLoader.loadConsole(),
import('#src/Commands/Route/List'),
import('#src/Commands/Make/Controller'),
import('#src/Commands/Make/Middleware'),
]
Expand Down

0 comments on commit d02c076

Please sign in to comment.