Closed vjancik closed 8 years ago
Thanks. This chapter is going to the webpack book really soon. I've added --cache
to the dev version there.
I'll close this once that has been published.
The problem is in the dot .
not in --cache
. Replace .
with ./app
. Sorry if I just said the obvious, from your response it seemed like you missed the point.
Missed the point, yeah. Thanks for highlighting that.
I'm tracking https://github.com/eslint/eslint/issues/5679 . If they can resolve the issue, perhaps the book doesn't need an update for this after all.
Solved at dev
. Given the release is so near, closing.
@vjancik Looks like they did a fix. See https://github.com/eslint/eslint/issues/5679 . That could help. 👍
There's an issue with
ESLint
: https://github.com/eslint/eslint/issues/6001 https://github.com/eslint/eslint/issues/5679and using this causes the linter to run for over 10 seconds (if your node_modules are populated, on OS X for sure, not sure what other platforms) . I solved it by changing it to:
"lint": "eslint ./app --ext .js --ext .jsx --cache",
You may consider adding
webpack.config.js
too to replicate original behavior.