atomtest
Test of require() bug in Atom Shell for Windows/Mac.
git clone
this repository.npm install
to get the dependencies.- run
grunt
(default task, and will requiregrunt-cli
installed globally) to download version of atom-shell (0.21.3) - run
npm run run-win
ornpm run run-mac
to start the application (an error about menu not being available for Mac will appear, I haven't made it properly cross-platform). - Observe that the process version is correct. The command-line log will also show evidence of
require()
working properly. - Click the link, this will load a different page (being served by the Browser process).
- Backspace from this page when loaded.
- Observe that the process version is no longer displayed, there are error messages in the command-line log indicating that the require() has failed also.