Skip to content

Commit

Permalink
fix: webpack dev server watch option.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyi7099 committed Oct 29, 2019
1 parent b194332 commit 9997cf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@rcpress/core/lib/node/prepare/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = async function prepare(sourceDir) {
// 6. handle the theme enhanceApp.js
// await writeEnhanceTemp('themeEnhanceApp.js', options.themeEnhanceAppPath);

logger.success('\nCollecting site data finished.');
logger.success('\nCollecting site data is completed.');

return options;
};
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = async function createDeveServer(config, options, port, host) {
open: options.siteConfig.open,
publicPath: options.siteConfig.base,
watchOptions: {
ignored: [/node_modules/]
ignored: [/node_modules(\\|\/)(?!@rcpress(\\|\/)core(\\|\/).temp)/]
},
historyApiFallback: {
disableDotRule: true,
Expand Down

0 comments on commit 9997cf0

Please sign in to comment.