
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
atom-package-reloader
Advanced tools
reloades your atom packages on file change

npm install --save-dev atom-package-reloader
returns a Function({pkg,folders}) if atom.inDevMode()
| options | Type | Usage | 
|---|---|---|
| pkg | string | name of your package | 
| folders | array | (optional) names of folders to watch defaults to '["lib"]' | 
returns a object with three functions
| function | Usage | 
|---|---|
| reload() | manually reloads your package | 
| watchOnce() | renews folder watchers | 
| dispose() | manually dispose folder watchers | 
watchOnce will be called automatically.
One file change reload() and dispose() will be called.
if not atom.inDevMode() null will be returned
Will only work in dev mode!
# inside of your activation function
# delay is necessary to eliminate double execution
# try-catch is only necessary if you use it as a dev-dependecy
setTimeout (->
  reloaderSettings = pkg:"name-of-your-package",folders:["lib","styles"]
  try
    reloader ?= require("atom-package-reloader")(reloaderSettings)
  catch
  ),500
# inside of your deactivation function
reloader?.dispose()
reloader = null
Copyright (c) 2015 Paul Pflugradt Licensed under the MIT license.
FAQs
a reloader for atom packages
The npm package atom-package-reloader receives a total of 0 weekly downloads. As such, atom-package-reloader popularity was classified as not popular.
We found that atom-package-reloader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.