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

Regenerate on file save when using npm run serve #1

Closed
meirroth opened this issue May 18, 2021 · 3 comments
Closed

Regenerate on file save when using npm run serve #1

meirroth opened this issue May 18, 2021 · 3 comments

Comments

@meirroth
Copy link
Contributor

Thank you very much for creating this useful plugin!
Works flawlessly in my Vue 3 project.

Q:
How can I modify the vue config file to run autogen on file save when in serve mode?
I tried changing the param ['run'] to ['watchRun'] and to ['beforeCompile'] and it just went into an Infinite rebuild loop.

@GTANAdam
Copy link
Owner

Greetings! I have stumbled upon this a couple of times but I had decided to include the whole fontawesome library when debugging to save time, but I will definitely have a look into this because the script changes the file while vue serve mode keeps watching file changes so it becomes a loop.

@M1CK431 M1CK431 mentioned this issue May 26, 2021
@M1CK431
Copy link

M1CK431 commented May 26, 2021

Hi @meirroth

I have fix this issue (among others) here: #6
Now waiting for @GTANAdam review/merge 🤞

Cheers! 😗

@meirroth
Copy link
Contributor Author

@M1CK431 Thank you!!

GTANAdam added a commit that referenced this issue Jul 31, 2021
- Add primary compatibility with default vue-fontawesome syntax
- Fix watch mode, npm run serve #1
- Allow parsing from .js files
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

Successfully merging a pull request may close this issue.

3 participants