diff --git a/packages/sui-bundler/factories/createDevServerConfig.js b/packages/sui-bundler/factories/createDevServerConfig.js index 097a41672..66143a371 100644 --- a/packages/sui-bundler/factories/createDevServerConfig.js +++ b/packages/sui-bundler/factories/createDevServerConfig.js @@ -30,10 +30,16 @@ module.exports = config => ({ 'Access-Control-Allow-Methods': '*', 'Access-Control-Allow-Headers': '*' }, - static: { - directory: 'public', - watch: getWatchOptions(config) - }, + static: [ + { + directory: 'statics', + watch: getWatchOptions(config) + }, + { + directory: 'public', + watch: getWatchOptions(config) + } + ], hot: true, host, historyApiFallback: {