While developing a package for Atom (on OSX), I have gotten used to the auto-reloading of package when changes made to styles/*.less are saved. I believe the process (which appears to NOT be a full window reload, just the package being modified) is something like
atom.packages.disablePackage(packageName) atom.packages.unloadPackage(packageName) atom.packages.loadPackage(packageName) atom.packages.enablePackage(packageName)
But Atom has stopped doing this recently (nothing happens when stylesheets of a package are changed). Any idea why? Thanks in advance!
[Edited] P.S. I’ve figured out how to dynamically add/change stylesheets and let them take effect without a full-reload using StyleManager, so I don’t really need the auto-reload package feature any more… but I suppose it would still be interesting to know.