Skip to content

Commit 9704c73

Browse files
committed
fix setup custom
1 parent 4466b77 commit 9704c73

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

epicshop/setup-custom.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ import {
44
isProblemApp,
55
setPlayground,
66
} from '@epic-web/workshop-utils/apps.server'
7-
import { getWatcher } from '@epic-web/workshop-utils/change-tracker.server'
87
import fsExtra from 'fs-extra'
98

10-
// getApps expects this env var
11-
process.env.NODE_ENV = 'development'
12-
139
const allApps = await getApps()
1410
const problemApps = allApps.filter(isProblemApp)
1511

@@ -26,12 +22,10 @@ if (!process.env.SKIP_PLAYGROUND) {
2622
() => {
2723
console.log('✅ first problem app set up')
2824
},
29-
error => {
25+
(error) => {
3026
console.error(error)
3127
throw new Error('❌ first problem app setup failed')
3228
},
3329
)
3430
}
3531
}
36-
37-
getWatcher().close()

0 commit comments

Comments
 (0)