Skip to content

Webpack notifier plugin not working with vue-cli #1527

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

Closed
Edza opened this issue Jun 9, 2018 · 6 comments
Closed

Webpack notifier plugin not working with vue-cli #1527

Edza opened this issue Jun 9, 2018 · 6 comments

Comments

@Edza
Copy link

Edza commented Jun 9, 2018

Version

3.0.0-beta.15

Reproduction link

https://github.com/Edza/vue_dsl

Steps to reproduce

Open project in vs code or other editor. Run "npm i && npm run debug". No notification will be shown.

What is expected?

A notification to pop up.

What is actually happening?

No notification. No error what so ever either.


I think the plugins are not merging correctly, or it's something to do with watch mode, but it should work even in watch I have it running in another project.

@kumorig
Copy link

kumorig commented Jun 9, 2018

There is no debug script in any of the default templates, so I guess you have added it yourself? Just look in your package.json and at your scripts, your debug script is identical with the serve script so no surprise with the lack of output really. You could try changing the script to "debug":"DEBUG=* vue-cli-service serve" (which is the usual way to do things.)

@Edza
Copy link
Author

Edza commented Jun 9, 2018

Doesn't work if I run "npm run serve" either.

@kumorig
Copy link

kumorig commented Jun 9, 2018

I cloned it and it runs for me. I'm guessing this is that node 10.x.x thing: #1385 (not only in vue).

@Edza
Copy link
Author

Edza commented Jun 9, 2018

I downgraded node.js version to 8.11.2. Still doesn't work.

Probably some enviorment differences in Windows. If it runs for you than it can't be a problem with vue-cli. Thanks

@Edza Edza closed this as completed Jun 9, 2018
@kumorig
Copy link

kumorig commented Jun 9, 2018

Sorry, you can pretty much disregard my earlier comments because it seems I lack the most basic reading comprehension skills(!) But I did clone it, ran it and I get the popups without any changes on win10, node 8.11.2, npm 5.6.0, @vue/cli 3.0.0-beta.16 (not 15).

@Edza
Copy link
Author

Edza commented Jun 10, 2018

I had notifications turned off in Windows. It works now.

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

2 participants