Recently, I've been experiencing an issue when running Nightwatch.js where my console is spawning child processes for every .js file in each folder and subfolder. Multiple Chrome instances are opening along with them and even the module folders with require JS libraries. I suspect I may have missed some configuration settings.
All I want is to run the main Nightwatch js file with just one instance of Chrome.
Upon checking my console, it displays "Starting.."
nightwatch bot.js -c config_chrome.json
Child process started for: tests/extra/assertions/customAssertion Child process started for: tests/extra/commands/customCommand
tests/extra/assertions/customAssertion has finished.
tests/extra/commands/customCommand has finished.
Child process started for: tests/extra/commands/customCommandConstructor Child process started for: tests/extra/commands/other/otherCommand
tests/extra/commands/customCommandConstructor has finished.
Child process started for: tests/extra/globals
tests/extra/globals has finished.
Child process started for: tests/extra/otherPageobjects/otherPage
tests/extra/otherPageobjects/otherPage has finished.
Child process started for: tests/extra/pageobjects/SimplePageFn
tests/extra/pageobjects/SimplePageFn has finished.
Child process started for: tests/extra/pageobjects/invalidPageObj
tests/extra/commands/other/otherCommand has finished.
Child process started for: tests/extra/pageobjects/simplePageObj
tests/extra/pageobjects/invalidPageObj has finished.