Shopify/slate

How to disable clearConsole()

LuisAlejandro opened this issue · 1 comments

This repo is currently on low maintenance. See README for details

Problem

I want to disable the calls to clearConsole();

Replication steps

export NODE_ENV=test && slate-tools watch

More Information

According to

if (process.env.NODE_ENV !== 'test') {

I can turn off the clearing of the console if i set NODE_ENV to "test" but it keeps clearing the console.

I need to disable this behavior because there are some bugs on the terminal that I need to see.

I managed to avoid calls to clearConsole() by putting process.env.NODE_ENV = 'test'; on my slate.config.js