mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-28 15:10:45 +00:00
Update null check for modifiedAssets
array.
Co-Authored-By: emizzle <ericmastro@status.im>
This commit is contained in:
parent
7c9d90090a
commit
5b1a226885
@ -86,7 +86,7 @@ class Pipeline {
|
||||
function shouldRunWebpack(next){
|
||||
// assuming we got here because an asset was changed, let's check our webpack config
|
||||
// to see if the changed asset requires webpack to run
|
||||
if(modifiedAssets){
|
||||
if(modifiedAssets || modifiedAssets.length) {
|
||||
const configReader = new WebpackConfigReader({webpackConfigName: self.webpackConfigName});
|
||||
return configReader.readConfig((err, config) => {
|
||||
if(err) return next(err);
|
||||
|
Loading…
x
Reference in New Issue
Block a user