1.1.4 • Published 7 years ago

sketchpad-reload v1.1.4

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Sketchpad Reload

Overview

Sketchpad Reload is Node module that provides file watching and live-reloading capability for Laravel Sketchpad.

By default it:

  • watches all controller, asset and view folders
  • reloads changes to loaded scripts and styles
  • re-runs the current method if the controller is updated
  • re-runs the current method when additionally-watched files are updated, added or deleted
  • reloads the navigation when any controllers updated, added or deleted

Sketchpad Reload also runs as a standalone script – no need to integrate with any build processes!

Express setup

If you have a standard Laravel setup, install Sketchpad Reload to your root folder:

npm install sketchpad-reload --save

Next, create a new file sketchpad.js, add the following code, and save:

require('sketchpad-reload').watch()

To start Sketchpad Reload, call the script using Node:

node sketchpad

See the wiki for custom installation and setup instructions.

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago