F
Filamentβ€’14mo ago
friese

How to develop JS?

I try to add a bit of javascript to one of my forms using this way: https://filamentphp.com/docs/3.x/support/assets#lazy-loading-javascript Right now I have to manually publish my JS-File after every change with artisan filament:assets Is there a way that this can be done automatically with a watcher?
Solution:
That was the push in the right direction! Thanks πŸ™‚ It was actually really simple to add a file watcher in phpstorm to do this. Here is my config if anyone needs this:...
No description
Jump to solution
2 Replies
toeknee
toekneeβ€’14mo ago
What editor are you using? You should be able to setup a watcher to run that command
Solution
friese
frieseβ€’14mo ago
That was the push in the right direction! Thanks πŸ™‚ It was actually really simple to add a file watcher in phpstorm to do this. Here is my config if anyone needs this:
No description
Want results from more Discord servers?
Add your server