diff --git a/src/assets/docs/watch-example2.mp4 b/src/assets/docs/watch-example2.mp4 new file mode 100644 index 000000000..742493823 Binary files /dev/null and b/src/assets/docs/watch-example2.mp4 differ diff --git a/src/content/docs/v4/cli/build.mdx b/src/content/docs/v4/cli/build.mdx index 69abd92fa..762208f61 100644 --- a/src/content/docs/v4/cli/build.mdx +++ b/src/content/docs/v4/cli/build.mdx @@ -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'; ``` +![usage](~/assets/watch-example2.mp4) -(that was easy) ## Adapting Older Projects