mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Merge branch 'next' into next-passport
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
import path from "path";
|
||||
import {
|
||||
CommandExecutor,
|
||||
Config,
|
||||
LongRunningExecutor,
|
||||
} from "../scripts/watcher";
|
||||
|
||||
const config: Config = {
|
||||
rootDir: path.resolve(__dirname, "../src"),
|
||||
watchers: {
|
||||
compileRelayStream: {
|
||||
paths: [
|
||||
"core/client/stream/**/*.ts",
|
||||
"core/client/stream/**/*.tsx",
|
||||
"core/client/stream/**/*.graphql",
|
||||
"core/client/server/**/*.graphql",
|
||||
],
|
||||
ignore: ["core/**/*.d.ts"],
|
||||
executor: new CommandExecutor("npm run compile:relay-stream", {
|
||||
runOnInit: true,
|
||||
}),
|
||||
},
|
||||
compileCSSTypes: {
|
||||
paths: ["**/*.css"],
|
||||
executor: new CommandExecutor("npm run compile:css-types", {
|
||||
runOnInit: true,
|
||||
}),
|
||||
},
|
||||
runServer: {
|
||||
paths: ["core/**/*.ts", "core/locales/**/*.ftl"],
|
||||
ignore: ["core/client/**/*"],
|
||||
executor: new LongRunningExecutor("npm run start:development"),
|
||||
},
|
||||
runWebpackDevServer: {
|
||||
paths: [],
|
||||
executor: new LongRunningExecutor("npm run start:webpackDevServer"),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user