Genie Discord forum
I make local module in Genie, and I call those module in Controller File like this:
and the code running well.
But if change code in file
MyModule.jl, Controller not running as expected.
How to make it work properly?
Do you mean, when you make a change to the code in MyModule.jl the changes are not automatically applied to your running code?
How are you executing the code in MyModule.jl? is it via Genie or manually? If you're doing it manually, you can use Revise.jl for automatic code reload:
using Revise includet("MyModule.jl"). <--- includet instead of include using .MyModule
changes made to your .jl file will be automatically loaded
I run using command
bin/repl . I already change my code into
and still getting error
Any other suggestion?
can you share your code and the error you're getting?
I replied on Github Discussions
I replace code
and it works...