sketchpad-reload

1.1.4 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i sketchpad-reload

Weekly Downloads

2

Version

1.1.4

License

MIT

Last publish

Collaborators

  • davestewart