No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Build automation process - "onFail" hook

    CLI
    1
    1
    178
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      djleven last edited by

      Hello everyone,

      Is there an ‘onFail’ hook or callback for the quasar build process?
      Or a way to access webpack’s Compiler Hooks (like ‘failed’ for example) from the quasar.conf?

      More specifically I’m looking for a way to automaticaly restart the build process (SPA) when the ‘PrerenderSpaPlugin’ fails to render all routes (this happens sometimes, it seems almost randomly).

      I’m not sure if webpack’s ‘failed’ would work for me but it seems worth a try (The PrerenderSpaPlugin seems to be executed after the “afterEmit” lifecycle hook).

      Is there a better way to do this?

      Thank you!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post