atom-hot-package-loader

Hot reloading for package development

cakecatz

1,424

8

0.5.1

MIT

GitHub

This package consumes the following services:

Atom Hot Package Loader

Build Status

Reload package without window:reload.

https://gyazo.com/67a86e32e418f99852d3b11b3af1f21b

UI Theme: nucleus-dark-ui
Syntax Theme: base16-tomorrow-dark (installed by default)

Commands

Command Description
atom-hot-package-loader:select-package Select target package
atom-hot-package-loader:detect-package Try guessing target package
atom-hot-package-loader:reload Reload targeted package
atom-hot-package-loader:watch Start targeted package's file watching
atom-hot-package-loader:unwatch Stop watching

Settings

Setting default Description
autoWatchTarget false Start watching the targeted package right after it has been selected
detectTargetOnStart false Try guessing target package automatically when activating this package
watchedTargetReloadDelay 100 Delay before reloading watched target package
onlyInDevMode true Use this plugin only in devMode
outputLog false Print debug info to console

Usage

Open Atom editor window in devMode (e.g. View / Developer / Open In Dev Mode... via app menu).

Select target package by using atom-hot-package-loader:select-package. Alternatively you can use atom-hot-package-loader:detect-package command which will try to guess target package based on paths of active text editor and project's root directories.

https://gyazo.com/900544de8bbf23d4a269288772ffb292

After that, use command reload or watch for hot reloading.

If you want to stop watch, you can use command unwatch.

LICENSE

MIT