Skip to content

Commit

Permalink
Merge pull request #141 from AthennaIO/develop
Browse files Browse the repository at this point in the history
fix(docs): correct place of watch flag
  • Loading branch information
jlenon7 authored Oct 21, 2023
2 parents c0b80b9 + d3014e3 commit 455f83d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/cli-application/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ export class Greet extends BaseCommand {
.instruction()
.head('Project Created')
.add(`cd ${this.paint.cyan('hello-world')}`)
.add(`Run ${this.paint.cyan('node artisan --watch serve')}`)
.add(`Run ${this.paint.cyan('node artisan serve --watch')}`)
.render()

this.logger
Expand Down Expand Up @@ -912,7 +912,7 @@ const instruction = this.logger.instruction()
instruction.head('Project Created')

instruction.add(`cd ${this.paint.cyan('hello-world')}`)
instruction.add(`Run ${this.paint.cyan('node artisan --watch serve')}`)
instruction.add(`Run ${this.paint.cyan('node artisan serve --watch')}`)

instruction.render()
```
Expand Down
6 changes: 3 additions & 3 deletions docs/getting-started/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ To run your application in development mode,
run the following command:

```bash
node --watch artisan serve
node artisan serve --watch
```

- The `serve` command will look up for your `Path.bootstrap('main.ts')`
file to bootstrap your application with predefined configurations.
- The `watch` flag is meant to watch the file system for
changes and restart your application automatically when
doing some change on it.
- The `serve` command will look up for your `Path.bootstrap('main.ts')`
file to bootstrap your application with predefined configurations.

0 comments on commit 455f83d

Please sign in to comment.