thrill
thrill copied to clipboard
Change default config filename from "thrill.js" to "thrillConfig.js"
Windows tries to automatically execute JavaScript files when their name is entered in to the command prompt. Because the current config filename is "thrill.js", when a user enters thrill in their command prompt, Windows will try to execute the "thrill.js" file, which is just a config file, instead of the actual "thrill" executable.
The current workaround to this is to use thrill.cmd instead of thrill to execute thrill via the command line. This is only nescessary if a config file exists in the current working directory, it is not an issue for running Thrill directly from the commandline without a config file.
To avoid this workaround, "thrill.js" should be renamed to "thrillConfig.js". That way, when a user enters thrill the executable will run (since no "thrill.js" file will exist in the current directory to confuse Windows).
FWIW, Grunt opted for "Gruntfile.js". I mention it only because the file suffix is easier to type than Config.
Yeah, I've found their decision to be weird. Having "file" in a filename is redundant, and having it be capitalized is odd -- I find it hard to believe it was about keystrokes.
I'm not married to the file name, I don't like thrillConfig much either. Maybe .thrillrc? or .thrill? thrilling.js? thriller.js?
Now I'm leaning toward thriller.js.