mirror of
https://github.com/sern-handler/website
synced 2026-06-06 01:16:47 +00:00
watchexample
This commit is contained in:
BIN
src/assets/docs/watch-example2.mp4
Normal file
BIN
src/assets/docs/watch-example2.mp4
Normal file
Binary file not shown.
@@ -114,6 +114,8 @@ type BuildOptions = {
|
||||
sern build
|
||||
```
|
||||
|
||||
(that was easy)
|
||||
|
||||
## sern build --watch
|
||||
|
||||
the watch flag needs a `start` command. Depending on the **lock file** in your project, sern will run this command to reload your project. the build command checks in this order:
|
||||
@@ -130,8 +132,8 @@ the watch flag needs a `start` command. Depending on the **lock file** in your p
|
||||
if (pathExistsSync('bun.lock')) return 'bun start';
|
||||
```
|
||||
|
||||

|
||||
|
||||
(that was easy)
|
||||
|
||||
## Adapting Older Projects
|
||||
|
||||
|
||||
Reference in New Issue
Block a user