Base solution for your next web application
Open Closed

? npm run create-bundles #7427


User avatar
0
sean.alford created

For some reason NPM never returns to the system prompt. It displays Finished, but never seems to terminate. When I press Ctrl+C, I'm promted with: Terminate batch job (Y/N)? I enter N and press enter. Is this normal? Am I not waiting long enough?


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @sean.alford

    "create-bundles" command is for development time. It watches your style and script files used in bundles and updates the bundles if you make any change on related files. So, you don't have to run this command every time you make a change on your script/style files.

    For production, you can use "npm run build" command which creates the bundles (and minifies them) and exists.

  • User Avatar
    0
    ismcagdas created
    Support Team

    By the way, when you see "Finished buildDev ..." text, it means bundling is done.