monome / norns

norns is many sound instruments.
http://monome.org
GNU General Public License v3.0
634 stars 147 forks source link

imported files using 'require' only update after reset #1120

Closed tlubke closed 4 years ago

tlubke commented 4 years ago

A mild inconvenience when working on a lib used in a script, norns has to be reset in order for file changes to be recognized in a case where it is being used with require 'path'.

tehn commented 4 years ago

use include instead: https://monome.org/docs/norns/faq/#what-is-the-difference-between-require-and-include

ngwese commented 4 years ago

The scripting reference section on libraries directs people to use include as well: https://monome.org/docs/norns/script-reference/#libraries