Skip to content

Commit

Permalink
fix setup custom
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Aug 16, 2024
1 parent fa1db98 commit 822da47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 0 additions & 6 deletions epicshop/setup-custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ import {
isProblemApp,
setPlayground,
} from '@epic-web/workshop-utils/apps.server'
import { getWatcher } from '@epic-web/workshop-utils/change-tracker.server'
import fsExtra from 'fs-extra'

// getApps expects this env var
process.env.NODE_ENV = 'development'

const allApps = await getApps()
const problemApps = allApps.filter(isProblemApp)

Expand All @@ -33,5 +29,3 @@ if (!process.env.SKIP_PLAYGROUND) {
)
}
}

getWatcher().close()
5 changes: 4 additions & 1 deletion epicshop/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"include": ["@epic-web/config/reset.d.ts", "**/*.ts", "**/*.tsx", "**/*.js"],
"extends": ["@epic-web/config/typescript"]
"extends": ["@epic-web/config/typescript"],
"compilerOptions": {
"allowJs": true
}
}

0 comments on commit 822da47

Please sign in to comment.