Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache parameter has no effect #204

Closed
cloudfroster opened this issue Feb 3, 2016 · 2 comments
Closed

cache parameter has no effect #204

cloudfroster opened this issue Feb 3, 2016 · 2 comments

Comments

@cloudfroster
Copy link

i use examples/default and examples/appcache project, when I don't have any modification to save example.js, webpack should not emit index.html. but the index.html emitted.

image

webpack setting

plugins: [
    new HtmlWebpackPlugin({
      template: 'template.js',
      cache: true
    }),
    new ExtractTextPlugin('styles.css')
  ]

If I have a wrong setting, or need other conditions?

thx.

@jantimon
Copy link
Owner

jantimon commented Feb 3, 2016

@chen844033231 oh you are right there is a bug in the caching right now.
Will be fixed in 2.7.3.
Unfortunately there are no tests on caching..
Maybe you (or someone else) has a cool idea how we could add tests.

@lock
Copy link

lock bot commented Jun 1, 2018

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants