Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes not reflected until Maven Refresh #77

Open
NielsNet opened this issue May 30, 2018 · 0 comments
Open

Changes not reflected until Maven Refresh #77

NielsNet opened this issue May 30, 2018 · 0 comments

Comments

@NielsNet
Copy link

Hi,

I'm currently using this plugin with the latest version of the Spring Tool Suite (3.9.4) based on Eclipse Oxygen.3a (4.7.3a).

Whenever I perform changes in my SCSS files, I can see in Eclipse that the CSS files are also updated.
Howerver, my Spring Boot Application does not load the CSS file until I run a Maven Refresh (Alt + F5) and restart the project. Restarting without a refresh is not working either.

Am I missing a configuration setting or doing something wrong?

In my POM I'm using the following configuration:

<plugin>
	<groupId>com.github.warmuuh</groupId>
	<artifactId>libsass-maven-plugin</artifactId>
	<version>0.2.10-libsass_3.5.3</version>
	<executions>
		<execution>
			<phase>generate-resources</phase>
			<goals>
				<goal>compile</goal>
			</goals>
		</execution>
	</executions>
	<configuration>
		<imgPath>../img</imgPath>
		<generateSourceMap>false</generateSourceMap>
		<inputPath>${basedir}/src/main/resources/static/scss/</inputPath>
		<outputPath>${basedir}/src/main/resources/static/css/</outputPath>
		<enableClasspathAwareImporter>true</enableClasspathAwareImporter>
	</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant