We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f457117 commit e157539Copy full SHA for e157539
storage/framework/core/actions/src/files/watch.ts
@@ -1,6 +1,7 @@
1
import { watch } from 'fs'
2
+import { path } from '@stacksjs/path'
3
-const watcher = watch('/Users/glennmichaeltorregosa/Documents/Projects/stacks/app/Models', async (event, filename) => {
4
+watch(path.userModelsPath(), async (event, filename) => {
5
await Bun.$`bun ../orm/generate-model.ts`
6
7
console.log('generated orm models')
0 commit comments