Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions resources/views/docs/mobile/1/getting-started/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,38 @@ changes to any files in your Laravel app, the web view will be reloaded and your

The proper way to implement this is to first `run` your app on your device/emulator, then start HMR with `npm run dev` then in a separate terminal run the `native:watch` command. This will reload any Blade/Livewire files as well as any recompiled assets (css/js etc).

<aside class="relative z-0 mt-5 overflow-hidden rounded-2xl bg-pink-50 px-5 ring-1 ring-black/5 dark:bg-pink-600/10">

#### Note



```php
'hot_reload' => [
'watch_paths' => [
'app',
'routes',
'config',
'database',
// Make sure "public" is listed in your config [tl! highlight:1]
'public',
],
]
```
```js
// And update your vite.config.ts
server: {
port: 5173,
cors: true,
hmr: {
host: '127.0.0.1',
},
},
```

</aside>


## Releasing

To prepare your app for release, you should set the version number to a new version number that you have not used
Expand Down