<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p>
<p dir="auto">Bug</p>


<p dir="auto"><strong>What is the current behavior?</strong></p>
<p dir="auto">Webpack file watcher ignores changes in symlinked files if <code class="notranslate">resolve &gt; symlinks</code> options is set to <code class="notranslate">false</code>.</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto">I have created <a href="https://github.com/TomSssM/webpack-test">a minimal reproducible repo</a> to test the issue:</p>
<ul dir="auto">
<li>go to <code class="notranslate">./project</code></li>
<li>do <code class="notranslate">npm ci</code></li>
<li>then start local server by running <code class="notranslate">npm run server</code></li>
<li>start Webpack file watcher by running <code class="notranslate">npm run watch</code></li>
<li>change the file in <code class="notranslate">./package/Logger</code> (you could try changing the message getter for example, this way the changes are easy to see)</li>
</ul>



<p dir="auto"><strong>What is the expected behavior?</strong></p>
<p dir="auto">The changes made in <code class="notranslate">Logger</code> module should appear on the page (e.g. <code class="notranslate">Logger</code> should append a different message). Instead Webpack doesn't re-build the <code class="notranslate">Logger</code> module.</p>
<p dir="auto">I found a similar issue <a href="https://github.com/webpack/watchpack/issues/60" data-hovercard-type="issue" data-hovercard-url="/webpack/watchpack/issues/60/hovercard">here</a>.</p>
<p dir="auto"><strong>If this is a feature request, what is motivation or use case for changing the behavior?</strong></p>
<p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.</strong></p>
<p dir="auto"><strong>Node.js version</strong> 12.19.0</p>
<p dir="auto"><strong>Webpack version</strong> 5.10.3</p>
<p dir="auto"><strong>I'm submitting a bug report</strong></p>
<p dir="auto">passing an Array of paths causes a webpack validation error</p>
<p dir="auto"><strong>Webpack version:</strong><br>
2.1.0-beta.25</p>
<p dir="auto"><strong>Please tell us about your environment:</strong><br>
macOS Sierra</p>
<p dir="auto"><strong>Current behavior:</strong></p>
<p dir="auto">passing an Array of paths outputs a WebpackOptionsValidationError</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="
  entry: [
    'webpack/hot/dev-server',
    `webpack-dev-server/client?http://127.0.0.1:${port}`,
    './src/js/script.js',
    './src/css/style.css',
    './src/index.html'
  ],
"><pre class="notranslate">  <span class="pl-s1">entry</span>: <span class="pl-kos">[</span>
    <span class="pl-s">'webpack/hot/dev-server'</span><span class="pl-kos">,</span>
    <span class="pl-s">`webpack-dev-server/client?http://127.0.0.1:<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-s1">port</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">,</span>
    <span class="pl-s">'./src/js/script.js'</span><span class="pl-kos">,</span>
    <span class="pl-s">'./src/css/style.css'</span><span class="pl-kos">,</span>
    <span class="pl-s">'./src/index.html'</span>
  <span class="pl-kos">]</span><span class="pl-kos">,</span></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="configuration.entry should be one of these:
   object { &lt;key&gt;: string | [string] } | string | [string]"><pre class="notranslate"><code class="notranslate">configuration.entry should be one of these:
   object { &lt;key&gt;: string | [string] } | string | [string]
</code></pre></div>
<p dir="auto"><strong>Expected/desired behavior:</strong></p>
<p dir="auto">passing an Array of strings should work? ([string])</p>