Commit 447a7017 authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by John Albin Wilkins
Browse files

Issue #2745341 by frjo, JohnAlbin: gulpWatchOptions interval for lower cpu usage

parent e145af26
Loading
Loading
Loading
Loading
+5 −2
Changes for STARTERKIT/gulpfile.js: 5 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -86,9 +86,12 @@ options.eslint = {
  ]
};

// If your files are on a network share, you may want to turn on polling for
// Gulp watch. Since polling is less efficient, we disable polling by default.
// The default file-watching interval is 100 ms. If that leads to excessive CPU
// usage, you can set a higher value. Additionally, if your files are on a
// network share, you may want to turn on polling for Gulp watch. Since polling
// is less efficient, we disable polling by default.
options.gulpWatchOptions = {};
// options.gulpWatchOptions = {interval: 600};
// options.gulpWatchOptions = {interval: 1000, mode: 'poll'};