Skip to content

Commit e157539

Browse files
chore: wip
1 parent f457117 commit e157539

File tree

1 file changed

+2
-1
lines changed
  • storage/framework/core/actions/src/files

1 file changed

+2
-1
lines changed

storage/framework/core/actions/src/files/watch.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { watch } from 'fs'
2+
import { path } from '@stacksjs/path'
23

3-
const watcher = watch('/Users/glennmichaeltorregosa/Documents/Projects/stacks/app/Models', async (event, filename) => {
4+
watch(path.userModelsPath(), async (event, filename) => {
45
await Bun.$`bun ../orm/generate-model.ts`
56

67
console.log('generated orm models')

0 commit comments

Comments
 (0)