Open LuisAlejandro opened 4 years ago
I want to disable the calls to clearConsole();
export NODE_ENV=test && slate-tools watch
According to https://github.com/Shopify/slate/blob/f273114e13b066e8aeeb7d2662d648d600e1bba8/packages/slate-tools/cli/commands/start.js#L80
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
process.env.NODE_ENV = 'test';
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 https://github.com/Shopify/slate/blob/f273114e13b066e8aeeb7d2662d648d600e1bba8/packages/slate-tools/cli/commands/start.js#L80
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.