Skip to content

Commit e19abb4

Browse files
author
Vincent
authored
Typescript support v2 topic pq (#57)
* support relay 2 persisted queries
1 parent 7eb5ee5 commit e19abb4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function handler(config, err, stats) {
5353
console.log('Compiling relay queries...');
5454
const relayCompiler = spawn(
5555
path.resolve('./node_modules/.bin/relay-compiler'),
56-
relayCompilerArguments,
56+
relayCompilerArguments.concat('--watchman', 'false'),
5757
{ stdio: 'inherit' },
5858
);
5959

scripts/utils/relayCompilerArguments.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ module.exports = [
3333
'--artifactDirectory',
3434
'src/__generated__',
3535

36-
process.env.PERSIST_QUERIES ? '--persist' : '',
36+
process.env.PERSIST_QUERIES ? '--persist --persist-output' : '',
3737
].reduce((acc, item) => acc.concat(item), []);

0 commit comments

Comments
 (0)