gkz / LiveScript

LiveScript is a language which compiles to JavaScript. It has a straightforward mapping to JavaScript and allows you to write expressive code devoid of repetitive boilerplate. While LiveScript adds many features to assist in functional style programming, it also has many improvements for object oriented and imperative programming.
http://livescript.net
MIT License
2.31k stars 155 forks source link

LiveScript watch should detect new files in folder #413

Open farzher opened 10 years ago

farzher commented 10 years ago

lsc -wc . Doesn't notice any newly added files. Any changes made to existing .ls files is of course detected. But newly added .ls files are ignored.

It's pretty annoying re-running this command everytime I add a file.

foxbunny commented 10 years ago

:+1: for this. Also handle removal of files. Related issue #191 has been closed, but lsc still doesn't handle adding and removing files.

farzher commented 10 years ago

I use an automatic build tool to compile livescript, so this issue is not a big deal for me anymore also.

But, it would be awesome if I could run lsc -wbc . on my server, that way I can just upload .ls files instead of having to switch and upload the .js everytime. Currently that won't work because -c doesn't detect new files

gabeio commented 9 years ago

:+1: this is still an issue it's weird it's even an issue for things like gulp's *.ls watch I wonder if it's because it's a similar style of watch...