time to run task keep increasing
See original GitHub issuehi,
with this below time keep increasing with each compile step so it starts with 200 ms and keep going up to 1 second, 2 seconds,etc… i checked to see if only one files is passed and indeed it is
const paths = {
clientScripts: [`src/client/**/*.js`],
serverScripts: [`src/server/**/*.js`],
html: `src/client/**/*.html`
}
let babelOptions = {
presets: [`es2015`, `stage-1`, `stage-3`],
plugins: [`transform-es2015-modules-commonjs`,
`transform-decorators-legacy`,
// `transform-es2015-typeof-symbol`,
`typecheck`,
`syntax-flow`,
`transform-flow-strip-types`,
[`transform-runtime`, {
"polyfill": false,
"regenerator": true
}]
],
sourceMaps: `inline`,
sourceRoot: `./`
}
export default async function () {
await this.watch(paths.clientScripts, `clientJs`);
}
export async function clientJs(file) {
let source = file ? file : paths.clientScripts;
let target = file ? `dist/` : `dist/client/`;
await this.source(source)
.babel(babelOptions)
.target(target);
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (7 by maintainers)
Top Results From Across the Web
Why Do I See So Much Running In Task Manager?
They're a combination of services and startup programs so that's usually why they pop back up. You have to prevent the service from...
Read more >CPU Usage always at 70%+ until task manager is open
Hi Team, My CPU usage is always at 90% or 100%. But when I open task manager, after a couple of seconds it...
Read more >5 processes to end through Task Manager to speed up your PC
Processes could be significantly slowing down your PC right now. Tap or click here for five ways to speed up your PC in...
Read more >How to Lower CPU Usage: Common Causes & Tips - N-able
Go back to the Task Manager, click the Services tab, and sort the list by order of process ID. You can run your...
Read more >Spark Job Optimization Myth #1: Increasing the Memory Per ...
A given executor will run one or more tasks at a time. ... Keep in mind that increasing the number of executors will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@devmondo hahaha, good!.. I’ll look into it more. Not sure (yet) if
usePolling
should always betrue
on Windows, or if it’s just your Webstorm + Windows environment.@lukeed holy god!!! it went from 1 second to 200 - 250 ms stable!!! and i made sure to modify file and save it multiple times aggressively. so yeah your suggestion works!