mirror of
https://github.com/wassname/talk.git
synced 2026-07-19 11:28:50 +08:00
Read env in watchers.ts
This commit is contained in:
+3
-3
@@ -4,6 +4,8 @@ import {
|
||||
Config,
|
||||
LongRunningExecutor,
|
||||
} from "../scripts/watcher";
|
||||
// Ensure environment variables are read.
|
||||
import "./env";
|
||||
|
||||
const config: Config = {
|
||||
rootDir: path.resolve(__dirname, "../src"),
|
||||
@@ -42,9 +44,7 @@ const config: Config = {
|
||||
},
|
||||
runDocz: {
|
||||
paths: [],
|
||||
executor: new LongRunningExecutor(
|
||||
"NODE_ENV=development npm run docz -- dev"
|
||||
),
|
||||
executor: new LongRunningExecutor("npm run docz -- dev"),
|
||||
},
|
||||
},
|
||||
defaultSet: "client",
|
||||
|
||||
Generated
+4263
-4272
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user