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

onBuildExit fires before webpack is actually done #34

Open
mikeerickson opened this issue Jan 20, 2017 · 3 comments
Open

onBuildExit fires before webpack is actually done #34

mikeerickson opened this issue Jan 20, 2017 · 3 comments

Comments

@mikeerickson
Copy link

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

@mikeerickson mikeerickson changed the title onBuildExit onBuildExit fires before webpack is actually done Jan 20, 2017
@HazAT
Copy link

HazAT commented Mar 28, 2017

I have the same issue

@maximekl
Copy link

maximekl commented Aug 8, 2017

same here :)

@davidojedalopez
Copy link

Same here. Any workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants