Atom contains a number of packages that are Node modules instead of Atom packages. If you want to make changes to the Node modules, for instance
atom-keymap, you have to link them into the development environment differently than you would a normal Atom package.
Here are the steps to run a local version of a Node module, not an Atom package, within Atom. We're using
atom-keymap as an example:
git clone https://github.com/atom/atom-keymap.git cd atom-keymap npm install npm link # This is the special step, it makes the Node module work with Atom's version of Node apm rebuild cd WHERE YOU CLONED ATOM npm link atom-keymap # Should work! atom --dev .
After you get the Node module linked and working, every time you make a change to the Node module's code, you will have to exit Atom and do the following:
cd WHERE YOU CLONED THE NODE MODULE npm install apm rebuild cd WHERE YOU CLONED ATOM atom --dev .