Skip to content

Commit

Permalink
Add weztermocil config (#106)
Browse files Browse the repository at this point in the history
* Add watch script to package.json

* Setup weztermocil config for a watch window
  • Loading branch information
alexcaza authored May 2, 2024
1 parent be5c9c8 commit ff67a00
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .weztermocil/watch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
windows:
- name: export-to-csv-watch
root: .
layout: tiled
panes:
- bun run test -- --watch
- bun run watch
- bun run tsc --watch
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"scripts": {
"build": "rm -rf output && bun build index.ts --outdir ./output --minify && tsc",
"watch": "rm -rf output && bun build index.ts --outdir ./output --minify --watch",
"e2e": "rm -rf integration/export-to-csv.js && bun run build && cp output/index.js integration/export-to-csv.js && playwright test",
"e2e-ci": "rm -rf integration/export-to-csv.js && bun run build && cp output/index.js integration/export-to-csv.js && bunx playwright install --with-deps && playwright test",
"e2e-server": "bunx http-server ./integration -p 3000",
Expand Down

0 comments on commit ff67a00

Please sign in to comment.