Skip to content

Commit

Permalink
chore: improve dev server config
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcamargo committed Jul 29, 2022
1 parent 7879392 commit ae38545
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/services/docs-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function serve(server, onSuccess){

function buildServerConfig(directory){
return {
static: { directory },
static: { directory, watch: true },
client: { overlay: false },
host: '0.0.0.0',
compress: true,
Expand Down
2 changes: 1 addition & 1 deletion src/cli/services/docs-generator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('Docs Generator Service', () => {
hot: false,
host: '0.0.0.0',
port: 7000,
static: { directory: '/client/pitsby' },
static: { directory: '/client/pitsby', watch: true },
client: { overlay: false }
}, compilerObjectMock);
});
Expand Down

0 comments on commit ae38545

Please sign in to comment.