If you do not want to “constantly” change your system variables and influence other Brunch-based projects, you can use the command setto define your NPM scriptsin package.json, and then the &&combinator and command brunch.
This method should work on both Unix and Windows computers.
{
"scripts": {
"start": "set LOGGY_STACKS=true && brunch watch --server",
"serve": "npm run start",
"build": "brunch b -p --env production",
"clean": "rm -rf public dist"
}
}
start stop , NPM .