We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d04888 commit cb3345dCopy full SHA for cb3345d
plugin.js
@@ -51,7 +51,7 @@ class SwiftWebpackPlugin {
51
log("Watching " + this.packageDirectory)
52
this.wp.watch([], [this.packageDirectory], Date.now() - 10000);
53
this.wp.on('change', (filePath, mtime, explanation) => {
54
- if (!filePath) return;
+ if (!filePath || typeof filePath != 'string') return;
55
if (this.ignoring.some(i => filePath.includes(i)))
56
return;
57
this._compile()
0 commit comments