Skip to content
Snippets Groups Projects
  • Thomas Fritsch's avatar
    f2b0316a
    fix scss watch tasks broken on syntax error · f2b0316a
    Thomas Fritsch authored
    when there is a syntax error in a sass file (theme or core) the npm start command used to hang, forcing the user to stop and restart the task to compile again.
    this fix allows to keep the start-task watching/compiling even when there is an error :
    - the error is displayed in terminal
    - the rest of gulp tasks are not called (no reload in the browser)
    - the user can edit the scss files to try a fix without the need to stop/restart the `npm start` command
    f2b0316a
    History
    fix scss watch tasks broken on syntax error
    Thomas Fritsch authored
    when there is a syntax error in a sass file (theme or core) the npm start command used to hang, forcing the user to stop and restart the task to compile again.
    this fix allows to keep the start-task watching/compiling even when there is an error :
    - the error is displayed in terminal
    - the rest of gulp tasks are not called (no reload in the browser)
    - the user can edit the scss files to try a fix without the need to stop/restart the `npm start` command