Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

How to disable clearConsole() #1090

Open
LuisAlejandro opened this issue Jan 23, 2020 · 1 comment
Open

How to disable clearConsole() #1090

LuisAlejandro opened this issue Jan 23, 2020 · 1 comment

Comments

@LuisAlejandro
Copy link

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.

@LuisAlejandro
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant