We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
remy
Learn more about funding links in repositories.
Report abuse
1 parent 6787871 commit 3b58104Copy full SHA for 3b58104
lib/monitor/watch.js
@@ -69,6 +69,10 @@ function watch() {
69
watchOptions.disableGlobbing = true;
70
}
71
72
+ if (utils.isIBMi) {
73
+ watchOptions.usePolling = true;
74
+ }
75
+
76
if (process.env.TEST) {
77
watchOptions.useFsEvents = false;
78
lib/utils/index.js
@@ -17,6 +17,7 @@ var utils = (module.exports = {
17
isWindows: process.platform === 'win32',
18
isMac: process.platform === 'darwin',
19
isLinux: process.platform === 'linux',
20
+ isIBMi: require('os').type() === 'OS400',
21
isRequired: (function () {
22
var p = module.parent;
23
while (p) {
0 commit comments