diff options
Diffstat (limited to 'apps/peertube-cli/scripts/watch.js')
-rw-r--r-- | apps/peertube-cli/scripts/watch.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/peertube-cli/scripts/watch.js b/apps/peertube-cli/scripts/watch.js new file mode 100644 index 000000000..94e57199c --- /dev/null +++ b/apps/peertube-cli/scripts/watch.js | |||
@@ -0,0 +1,7 @@ | |||
1 | import * as esbuild from 'esbuild' | ||
2 | import { esbuildOptions } from './build.js' | ||
3 | |||
4 | const context = await esbuild.context(esbuildOptions) | ||
5 | |||
6 | // Enable watch mode | ||
7 | await context.watch() | ||