Skip to content

onBuildExit fires before webpack is actually done #34

Description

@mikeerickson

I have a script set to run when webpack is all done (onBuildExit) but it seems to fire before webpack is actually done (I have also tried onBuildEnd)

My script:

  webpackConfig.plugins.push(new WebpackShellPlugin({
    onBuildStart: ['./node_modules/.bin/bump prerelease'], // need to bump version first before files copied etc
    onBuildExit: ['echo "test"']
  }));

Results:

You can see in the screenshot below, the "test" message is definitely emitted before webpack is done

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions