cloudqert.blogg.se

Livereload alternative
Livereload alternative











livereload alternative

Note that because Wyam makes no assumptions about dependencies between files, modules, and pipelines, it is not possible to only regenerate the effects of the file that changed. Some modules can cache information from one generation to the next, so re-generations after a watched file changes should be somewhat faster. When file watching is enabled, the generation will be re-run any time a file in one of the input folders changes. You can turn on file watching with the -w or -watch argument. Requesting any resources or pages outside of this virtual directory will result in 404 Not Found errors. This will make all of files on disk appear as if they were under the specified path on the web server. You can serve files under a virtual directory with the -virtual-dir option. You can change where the preview server pulls files from with the -preview-root argument. This will cause the Wyam process to remain open in your console until you hit a key to exit. This will make the site available on a URL like If you prefer a different port, add that after the preview argument. To activate the preview server, use the -p or -preview argument. This is similar to the convention a lot of static site hosts such as GitHub Pages uses. It includes support for ignoring file extensions and implicitly delivering a index.html page if one exists. Wyam includes an embedded web server you can use to test your site locally. However, if you want to specify any additional options for the -nuget option such as to accept pre-release packages, you need to surround the whole value in quotes: wyam -nuget "Foo.Bar -p" For example, the following command will load a Nuget package named Foo.Bar: wyam -nuget Foo.Bar Note that some of the arguments such as -nuget are "nested" and must be contained in quotes if they contain options of their own (and any inner quotes must be escaped). e, -exclusive Indicates that only the specified package Specifies the package source(s) to get the l, -latest Specifies that the latest available versionĪlways trigger a request to the sources). v, -version Specifies the version range of the package u, -unlisted Specifies that unlisted packages are p, -prerelease Specifies that prerelease packages are i, -ignore-known-packages Ignores (does not add) packages for nocache Prevents caching information during verify-config Compile the configuration but do output-script Outputs the config script after

livereload alternative

packages-path The packages path to use (only if use-global-sources Toggles the use of the global NuGet use-local-packages Toggles the use of a local NuGet u, -update-packages Check the NuGet server for more c, -config Configuration file (by default,

livereload alternative

o, -output The path to output files, can be preview-root The path to the root of the preview virtual-dir Serve files in the preview web force-ext Force the use of extensions in the p, -preview Start the preview web server on the

livereload alternative

w, -watch Watches the input folder for any attach Pause execution at the start of the v, -verbose Turns on verbose output showing The main command that gets executedīy default is build which builds the site given the options you specify: >wyam build -help Preview Runs the preview server without generating anything.Įach command has its own set of options. New Scaffolds the given recipe into a specified path. There are several different available commands (use -help or -? to see them): >wyam -helpīuild Runs the build process (this is the default command). You can also specify a root folder that's different than the current folder after the wyam command. If you don't specify any arguments, the root folder will be set to the current folder and if a file named config.wyam is found, it will be used as the configuration file.

Livereload alternative zip#

To execute Wyam you need to run either wyam (if you installed it as a global tool) or dotnet /path/to/wyam/Wyam.dll (if you downloaded the ZIP archive) followed by any Wyam arguments.













Livereload alternative