@openedx/frontend-base 1.0.0-alpha.4 → 1.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -72,5 +72,9 @@ const config = {
|
|
|
72
72
|
// This configures webpack-dev-server which serves bundles from memory and provides live
|
|
73
73
|
// reloading.
|
|
74
74
|
devServer: (0, common_config_1.getDevServer)(),
|
|
75
|
+
// Limit the number of watched files to avoid `inotify` resource starvation.
|
|
76
|
+
watchOptions: {
|
|
77
|
+
ignored: /node_modules/
|
|
78
|
+
}
|
|
75
79
|
};
|
|
76
80
|
exports.default = config;
|
|
@@ -106,5 +106,9 @@ const config = {
|
|
|
106
106
|
// This configures webpack-dev-server which serves bundles from memory and provides live
|
|
107
107
|
// reloading.
|
|
108
108
|
devServer: (0, common_config_1.getDevServer)(),
|
|
109
|
+
// Limit the number of watched files to avoid `inotify` resource starvation.
|
|
110
|
+
watchOptions: {
|
|
111
|
+
ignored: /node_modules/
|
|
112
|
+
}
|
|
109
113
|
};
|
|
110
114
|
exports.default = config;
|
package/package.json
CHANGED
|
@@ -72,5 +72,9 @@ const config = {
|
|
|
72
72
|
// This configures webpack-dev-server which serves bundles from memory and provides live
|
|
73
73
|
// reloading.
|
|
74
74
|
devServer: (0, common_config_1.getDevServer)(),
|
|
75
|
+
// Limit the number of watched files to avoid `inotify` resource starvation.
|
|
76
|
+
watchOptions: {
|
|
77
|
+
ignored: /node_modules/
|
|
78
|
+
}
|
|
75
79
|
};
|
|
76
80
|
exports.default = config;
|
|
@@ -106,5 +106,9 @@ const config = {
|
|
|
106
106
|
// This configures webpack-dev-server which serves bundles from memory and provides live
|
|
107
107
|
// reloading.
|
|
108
108
|
devServer: (0, common_config_1.getDevServer)(),
|
|
109
|
+
// Limit the number of watched files to avoid `inotify` resource starvation.
|
|
110
|
+
watchOptions: {
|
|
111
|
+
ignored: /node_modules/
|
|
112
|
+
}
|
|
109
113
|
};
|
|
110
114
|
exports.default = config;
|